Re: [Jmol-users] java.lang.OutOfMemoryError: Java heap space in APPLET
Bob Hanson wrote: > it's a general problem with browsers. But I assure you, we have not > generally seen this problem with the Jmol applet. Plenty of people use > large proteins with it. So either your protein is REALLY huge, or > something else is odd about your installation. It could be, for > instance, that you have some other page still present in the browser > that is eating up huge portions of Java memory. One thing that will help > a lot is if you limit the applet window size. Those pixels cost memory. > Also, if you don't use translucency you save 50% on Java memory, because > in that case Jmol won't use a second buffer. okay. so the problem is that each applet running shares the very same vm and therefore the very same memory with a maximum limit. so the only thing i can do actually as developer is to give visitors a hint about this "check that there are not too many browser windows open with applets running inside or increase the memory by clicking there and adding ... ". or something like that. ugly one way or the other, but not a jmol problem... thanks for the explanation bob, raphael - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users
Re: [Jmol-users] java.lang.OutOfMemoryError: Java heap space in APPLET
it's a general problem with browsers. But I assure you, we have not generally seen this problem with the Jmol applet. Plenty of people use large proteins with it. So either your protein is REALLY huge, or something else is odd about your installation. It could be, for instance, that you have some other page still present in the browser that is eating up huge portions of Java memory. One thing that will help a lot is if you limit the applet window size. Those pixels cost memory. Also, if you don't use translucency you save 50% on Java memory, because in that case Jmol won't use a second buffer. Bob Raphael A. Bauer wrote: >Bob Hanson wrote: > > >>2:1 you have a Mac. In any case, you need to find the control panel for >>Java and increase the allowed memory. Others on the list can help you >> >> >... >unix like os was right - but i am running plain old linux here. > >apart from that - what you are saying means that if somebody wants to >see a protein on my webpage - assuming the protein is "too big" for his >vm - won't see anything. jmol simply and silently crashes (apart from a >tiny error message in the java error log that no java experienced user >ever will see?). > >is there any standard way round the problem? ok i could provide a small >tutorial explaining how to increase the xmx and maybe xms (if you have >windows click here and add -xmx1000m, if you have...) - but that seems >to be not the best way... > >any ideas here? >thanks! > >raphael > >- >This SF.net email is sponsored by DB2 Express >Download DB2 Express C - the FREE version of DB2 express and take >control of your XML. No limits. Just data. Click to get it now. >http://sourceforge.net/powerbar/db2/ >___ >Jmol-users mailing list >Jmol-users@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/jmol-users > > -- Robert M. Hanson Professor of Chemistry St. Olaf College Northfield, MN http://www.stolaf.edu/people/hansonr If nature does not answer first what we want, it is better to take what answer we get. -- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900 - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users
Re: [Jmol-users] java.lang.OutOfMemoryError: Java heap space in APPLET
Bob Hanson wrote: > 2:1 you have a Mac. In any case, you need to find the control panel for > Java and increase the allowed memory. Others on the list can help you ... unix like os was right - but i am running plain old linux here. apart from that - what you are saying means that if somebody wants to see a protein on my webpage - assuming the protein is "too big" for his vm - won't see anything. jmol simply and silently crashes (apart from a tiny error message in the java error log that no java experienced user ever will see?). is there any standard way round the problem? ok i could provide a small tutorial explaining how to increase the xmx and maybe xms (if you have windows click here and add -xmx1000m, if you have...) - but that seems to be not the best way... any ideas here? thanks! raphael - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users
Re: [Jmol-users] java.lang.OutOfMemoryError: Java heap space in APPLET
2:1 you have a Mac. In any case, you need to find the control panel for Java and increase the allowed memory. Others on the list can help you figure out how to do that if you don't know how. Raphael A. Bauer wrote: >Raphael A. Bauer wrote: > > >>hi jmol list, >> >>i am constantly getting out of memory errors when i am trying to load a >>random sequence of (relatively large) protein files. >> >> >... >I forgot to mention that this problem occurs in applet mode. >ra > >- >This SF.net email is sponsored by DB2 Express >Download DB2 Express C - the FREE version of DB2 express and take >control of your XML. No limits. Just data. Click to get it now. >http://sourceforge.net/powerbar/db2/ >___ >Jmol-users mailing list >Jmol-users@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/jmol-users > > -- Robert M. Hanson Professor of Chemistry St. Olaf College Northfield, MN http://www.stolaf.edu/people/hansonr If nature does not answer first what we want, it is better to take what answer we get. -- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900 - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users
Re: [Jmol-users] java.lang.OutOfMemoryError: Java heap space in APPLET
Raphael A. Bauer wrote: > hi jmol list, > > i am constantly getting out of memory errors when i am trying to load a > random sequence of (relatively large) protein files. ... I forgot to mention that this problem occurs in applet mode. ra - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users