help > RE: Change in java messages now causing RAM problems
Sep 9, 2021  12:09 PM | Alfonso Nieto-Castanon - Boston University
RE: Change in java messages now causing RAM problems
Hi Mary,

Great to hear that it is working, and thanks for letting me know what did it for future reference as well! (I did not know that Matlab java routines needed to access the user's home directory)

Best
Alfonso
Originally posted by Mary Newsome:
Hi Alfonso, I think I might have found the problem. When opening  another program on the command line, I got an error message that my home directory was full, so I wondered if that could be the problem I was having with Conn. After I cleared out my home directory, Conn worked fine. I guess Matlab and other programs must try to write to home directories, although I don't see resulting files from that. Maybe I would if I used the -la command for hidden files, not that I know really what this are. Anyway, thank you so much for your help!
Best,
Mary
Originally posted by Alfonso Nieto-Castanon:
Dear Mary,

Not sure what may have caused these error messages to start but these messages are sometimes related to memory problems so a couple of suggestions could be: 1) to close the Matlab editor (as files open in the editor can some times take up memory unnecessarily); and 2) in Matlab 'preferences' menu, go to 'General. Java heap memory' and try increasing that value to a reasonable proportion (e.g. ~10%-20%) of your total system memory. Let me know if any of these seems to help

Best
Alfonso
 
Originally posted by Mary Newsome:
Dear Alfonso,

Hope you're well in these unusual times. I have been getting numerous running java messages after loading an analysis, so much so that it takes up RAM and prevents any processing (with windows opening or closing very slowly). We use a Linux computer with Red Hat Enterprise 5, Matlab 2011b, Conn version 16b. We have not made any changes to the OS or Matlab or Conn versions and were surprised when this started to happen as things ran smoothly before. It's been going on for months. Before this started to happen, we would get running java error messages, but they did not influence processing. When using SPM with Matlab, this disruption hasn't appeared so far.  One of the many messages is "Exception in thread 'AWT-EventQueue-0' java.lang.NullPointerException", but you can see more in the attached jpg. The messages keep coming and don't seem to stop. Just wondering what your thoughts are. Thanks!

All the best,
Mary

Threaded View

TitleAuthorDate
Mary Newsome May 4, 2021
Alfonso Nieto-Castanon May 5, 2021
Mary Newsome Sep 9, 2021
RE: Change in java messages now causing RAM problems
Alfonso Nieto-Castanon Sep 9, 2021
Mary Newsome Sep 2, 2021