Hi all,
Recently, I've been finding that with a certain protocol I've been getting errors like "No Server process" & "Java VM out of memory," and likewise.
I'm using java components (as in, I specify a custom .class file on the server) to do stuff in my protocol. After using the 'Runtime.freeMemory()' method
and saving that value as an output for each component, I find that the memory (overall) decreases!
Runtime runtime = Runtime.getRuntime();
data.getProperties().define("Memory_free", runtime.freeMemory() );
Now, whilst this could be due to memory leaks, I seem to only start with 5 MB free, which I'm not happy with knowing that Java itself is memory-hungry
in the first place - and I have lots of data to process.
My main question is - how do I increase Pipeline Pilot's memory allocation to Java, if not generally (like the following website describes):
http://www.duckware.com/pmvr/howtoincreaseappletmemory.html
Thanks in advance,
Ed.