dump

How can I take a dump file for Winforms application

自作多情 提交于 2019-12-11 16:07:34
问题 I have a C# application which is crashing for unknown reason. For understanding the issue, i want to take a dump file for it. How can i do it? many thanks, Oz. 回答1: Are you talking about taking a minidump when your application crashes so you can debug it with windbg or cdb ? If yes, there are different approaches: DrWatson -Run drwtsn32 -i at the commandprompt, this will activate dr watson and let it listen in the background for all crashes. Windbg -Run windbg -I from the commandpromt

Dump to CSV/Postgres memory

好久不见. 提交于 2019-12-11 13:14:54
问题 I have a large table (300 million lines) that I would like to dump to a csv - I need to do some processing that cannot be done with SQL. Right now I am using Squirrel as a client, and it does not apparently deal very well with large datasets - at least as far as I can tell from my own (limited) experience. If I run the query on the actual host, will it use less memory? Thanks for any help. 回答1: I'd bet. You can directly dump a table to a CSV file using COPY, and I don't think that would use

svn dump -> path rename via windows powershell -> struggle with malformed dumpfile header

大城市里の小女人 提交于 2019-12-11 11:00:36
问题 The title says it all :) What i want is to dump a folder from one project and store it into another. Both folders (src: proj1/trunk/supplies, dest: extlibs/trunk) are in the same repository. My problem is that the when i load the "normal" dumpfile, the previous folder's path is kept and will be recreated at the new location (extlibs/trunk/proj1/trunk/supplies). So i've tried to change the path manually with win7 powershell: svnrdump dump https://localghost/svn/test_repo/proj1/trunk/supplies |

Are R objects dumped using `dump` readable cross-platform?

浪尽此生 提交于 2019-12-11 05:20:30
问题 I am considering replacing some uses of save , which exports .Rdata files, with dump , which produces text representations of R objects. Is it safe to assume that files created using dump will be readable by R installed on different operating systems (e.g. linux, mac, windows)? 回答1: Even those from save() are readable on all platforms -- I would stick with that format if your goal is cross-platform use rather than cross-application use (in which case you need a format read by all applications

Restoring Mysql dump from java: why does it hang the process?

六月ゝ 毕业季﹏ 提交于 2019-12-11 03:06:46
问题 I'm trying to restore a Mysql dump from a Java app. I'm using this code: Runtime rt = Runtime.getRuntime(); try { comando = "mysql -u root -ppass -e \"source " + path + "\\sql\\backup.sql\" legapelis" ; Process proceso = rt.exec(comando); System.out.println("ejecutando"); System.out.println(comando); proceso.getInputStream().close(); proceso.getOutputStream().close(); proceso.getErrorStream().close(); completado = proceso.waitFor(); if (completado != 0) { System.out.println("error");

xterm dump of full scrollable window content

故事扮演 提交于 2019-12-11 01:58:41
问题 I want to know if anyone does know a way to dump or copy the whole lot of viewable messages in a xterm window on linux. The very important thing is I don't want to know how to send a command out and kapture its output for stream 1 and 2 as well as the input, as this is well known to me. I may explain for what this is needed. You do something and expect not any complications but than you got pages of msg's als err msg or normal output. To be able to see later after it you should be able to get

In Pyyaml, how to represent empty strings and lists in block style?

十年热恋 提交于 2019-12-11 01:38:10
问题 I have added representers for folded strings, literal strings as mentioned in Any yaml libraries in Python that support dumping of long strings as block literals or folded blocks?. I have also added representer to print a list in block style in the dumped yaml content. But the issue is that when the string is empty, i.e., "" or the list is empty, they appear in non-block style in the dumped YAML content. How do force the pyyaml dumper to output "" empty strings with ">" or "|" style and empty

tomcat : How to get opened jdbc:oracle connection's stack trace?

喜你入骨 提交于 2019-12-10 22:31:25
问题 Have a web application running across multiple locations, I can see many connections piling up by running this command on linux: ps -ef|grep LOCAL shows me the count of active oracle connections with process id's, and the connection count has been growing up by 5-7 number every hour. After few hours, application slows down and eventually tomcat server needs to be restarted. As, I am able to see connections growing, Is there any way to get the source of these connections, to find out what

How can i take a user dump using powershell

不羁的心 提交于 2019-12-10 20:37:57
问题 I want to take user dump of a process using powershell How can i do it? The same I get on rightclicking the process in Taskmanager 回答1: The easiest way is to use Procdump from Sysinternals toolkit. Use Get-Process to get process id, which you can pass to Procdump for actual dumping. Edit: I'd still rather use readily available tools instead of the hard way. Have you got a valid business reason? Since you insist, there is a Win32 API call that creates user mode memory dumps. It can be invoked

Analyzing Outlook HANG dump (with GoogleCalendarSync add-in installed)

故事扮演 提交于 2019-12-10 19:08:37
问题 Since I started using outlook with GoogleCalendarSync i'm experiencing hangs every once in awhile. I used ADPlus to create a hang dump of the process (using adplus -hang -pn outlook.exe -o c:\dumps ). When I read the dump via WinDBG I use the command !analyze -v -hang , but I can't figure out what exactly went wrong. The output of the command is: ******************************************************************************* * * * Exception Analysis * * * *************************************