CMP Forums

CMP Forums (http://forums.thecmp.org/index.php)
-   NM Collector CMP Edition Software (http://forums.thecmp.org/forumdisplay.php?f=99)
-   -   "Java Heap space"??? (http://forums.thecmp.org/showthread.php?t=194245)

TFLeader 07-24-2016 03:53 PM

"Java Heap space"???
 
After adding my photos to NM Collector my report won't run due to lack of "Java heap space"???

nmCollector 07-25-2016 08:07 AM

This is just a quick reply. I will provide more details this evening. I will post a startup script that will solve the java heap space error if you have enough memory on your computer. This must be related to the slowness but I can't say for sure. Thanks.

nmCollector 07-25-2016 07:05 PM

Quote:

Originally Posted by TFLeader (Post 1496499)
After adding my photos to NM Collector my report won't run due to lack of "Java heap space"???

Since you are the second person to report this problem it is something I need to add to my known issues page. Here is the answer I provided to the other person who encountered this problem. He ended up reducing the size of all of his pictures to free up memory space.

------------------ begin embedded message ------------------

This error tells me that Java is running out of memory while it is trying to process the reports.

One approach to resolve this is to look at the size of your pictures and see if you can reduce them without losing too much of the resolution that you want. Here is an interesting article on the optimal picture size for computing that may be of interest to you: http://www.microscope-microscope.org...resolution.htm

Another approach is to make more memory available to Java. This can get complicated because it depends on several things including how much memory you have available (which depends on how many apps you have running among other things), whether you are using 32 bit or 64 bit java, and other things. As a first cut, would you mind downloading the " startupJE6JavaMoreMemory.bat" file from http://www.nmcollectorsoftware.com/moreMemory/ to your installation directory and then double clicking that file from your installation directory to actually run NM Collector Software. It should (depending on your system limitations) adjust the memory Java makes available to NM Collector Software. Would you let me know if it helps?

Worst case, you may have to reduce the size of all of your pictures.

------------------ end embedded message ------------------

Thanks,



All times are GMT -5. The time now is 09:12 AM.