Out of memory error on large trace file
Brought to you by:
ruttenm
The following large trace file origninally caused problems for TimeDoctorII.exe v1.95, but the problem was corrected by v1.98. When I try to open it with v1.3 here, I get a Java out of memory error.
http://www.tcshelp.com/dload/download/veryLargeTrace.zip
user: getfiles
pw: radig7923
Logged In: YES
user_id=1577725
Originator: NO
I was able to successfully open the file, by increasing the maximum java heap size to 256 MB. Infact, the java process used ~117 MB. But, I used 256 MB as the max heap size to open multiple files. I was able to open two copies of the same file (process size ~200MB).
On the command-line, I typed TimeDoctor.exe -vmargs -Xmx256m and the tool was able to open the large file. The option can also be set permanently by creating a file called timedoctor.ini in the same directory as timedoctor.exe. The timedoctor.ini should contain this:
-vmargs
-Xmx256m
Please note that each argument should be in a new line.
If you are using the IDE version, you should make this changes in eclipse.ini in the same directory as eclipse.exe. In short, the executable and the .ini file should have the same name. Refer http://help.eclipse.org/help32/index.jsp?topic=/org.eclipse.platform.doc.isv/reference/misc/runtime-options.html for more discussion.
Please try it out and let us know. But, this is indeed a very important test-case. We didn't have such a large file to use, so far. We can use it for further profiling and tuning.