Terry
04-29-2005, 10:19 AM
This morning, after hotsyncning I received the following message:
Failed to execute runnable (java.lang.OutOfMemoryError)
java.lang.OutOfMemoryError
My document list is missing, and I can only access the New Item Wizard icon.
I'm using XP Pro on a PC.
Thanks
coolacid
04-30-2005, 12:22 PM
Yep, had that too.
Just end Sunrise and restart. Worked for me.
PS: Checking the Task manager showed I was up to 100,000 Bytes of ram used.. I'm thinking there may be a mem-leak somewhere :)
doctorow
04-30-2005, 12:39 PM
One of the reasons I am not a big Java-application fan. They are not exactly known to be gentle with memory usage.
Terry i agree with coldacid, try to reinstall Sunrise. I had a similar problem and reinstalling has always worked for me.
Laurens
05-01-2005, 06:27 AM
You can try to increase the maximum heap size to alleviate this problem. Select "Memory Configuration" from the Sunrise start menu group and set the heap size to, for instance, 256Mb. (Default is 64Mb.)
The high memory usage is due to the library responsible for creating Plucker documents. This has always been a problem in both JPluck and Sunrise and cannot be fixed without rewriting the library from scratch.
Laurens
05-01-2005, 06:44 AM
One of the reasons I am not a big Java-application fan. They are not exactly known to be gentle with memory usage.
The problem is that Java's actual memory usage (i.e. the memory requested from the OS) is largely outside the control of the application. The same goes for C#/.Net as well. Just try out SharpReader.
As an aside, I'm currently busy rewriting Sunrise in C++. The commercial version will use much less memory, run faster, and won't require Java. (Before you ask: no, it won't support Plucker.)
Bob Russell
05-01-2005, 08:52 AM
C++ is great news for all of us. Hope it's not too much of a pain in the neck for the developer! :)