changing the maximum heapsize for applets?
in
Programming Questions
•
2 years ago
hi guys -
i'm curious if anyone can advise me on how to increase the heap size for applets. i'm curious if there is a way to pass this argument to the browser from my applet. i'm running osx 10.6, and tried adding the runtime parameter: -Xmx256m in my java preferences. nevertheless, the heap size maximum remains 100 mb for safari....as monitored by VisualVM.
i'd really like a solution that would pass the argument to the browser, so that every user wouldn't need to change their preferences just to use the applet.
any help?
there are some old solutions for ruby-processing, which uses a "java_args.txt" file - but this is useless for me, i'm running normal processsing 0191. also, the processsing maximum available memory does not carry over to the applet.
i'm curious if anyone can advise me on how to increase the heap size for applets. i'm curious if there is a way to pass this argument to the browser from my applet. i'm running osx 10.6, and tried adding the runtime parameter: -Xmx256m in my java preferences. nevertheless, the heap size maximum remains 100 mb for safari....as monitored by VisualVM.
i'd really like a solution that would pass the argument to the browser, so that every user wouldn't need to change their preferences just to use the applet.
any help?
there are some old solutions for ruby-processing, which uses a "java_args.txt" file - but this is useless for me, i'm running normal processsing 0191. also, the processsing maximum available memory does not carry over to the applet.
1