Login  Register

Re: installation of the AstroimageJ

Posted by johnk on Jan 23, 2017; 2:27pm
URL: http://astroimagej.170.s1.nabble.com/installation-of-the-AstroimageJ-tp590p594.html

Could you do run "free" on the command line and post the output here.  For example it might be

john@arion:~/desk> free
             total       used       free     shared    buffers     cached
Mem:      32930652    7966696   24963956    1546444     665252    5518800
-/+ buffers/cache:    1782644   31148008
Swap:      2103292          0    2103292

This will show us your computer's memory and usage.  

Also post the command line you are using to start AIJ.  If you are running the recommended script that would be perhaps in /usr/local/bin you can "cat" its contents and show the result.  For example

john@arion:~/desk> cat /usr/local/bin/astroimagej
#!/bin/sh
cd /usr/local/astroimagej/
java -Xmx8192m -jar /usr/local/astroimagej/ij.jar
exit

This will show us how much memory you are requesting.  

The error message suggests that you have asked for more memory than the computer can supply and I've seen it when the java request is for more than half of the physical memory the machine has.