I am using linux fedora 23 with ram 4gb.
While I am running astroimagej or aij from terminal, I am getting following message Error occurred during initialization of VM Could not reserve enough space for object heap Could not create the Java virtual machine. Can you please help me. |
Administrator
|
Hi Santosh,
First I will include the info I sent previous in case others are following this thread. --------------------------- If you have 4GB ram, you need to change the line that defines the memory allocation in the default script that starts AIJ. Current, that is apparently set for 8GB, which is more than you mentioned that your system has installed. I would try 3GB instead, so change -Xmx8192m to -Xmx3072m in the corresponding line of the startup script. -------------------------- Just to be clear, you now get the new messages after changing to -Xmx3072m ? If so, could you post the contents of the AIJ startup script, and the version of Java that is installed on your machine? Karen |
In reply to this post by Santosh Joshi
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. |
Thanks John ! Your inputs worked !
|
Thanks Karen. The problem is now solved...
|
Administrator
|
In reply to this post by Santosh Joshi
Hi AIJ community! Has anyone with Linux experience seen the missing text behavior shown in the AIJ menu images below in a Linux installation? Any ideas for Santosh would be appreciated! Karen |
In reply to this post by johnk
Dear Karen, I am extremely thankful to you for the quick response.aries@lenovo ~]$ free total used free shared buff/cache available Mem: 3930268 1715660 431676 218956 1782932 1700416 Swap: 999420 0 999420 aries@lenovo ~]$ cat /usr/local/bin/astroimagej #!/bin/sh cd /usr/local/AstroImageJ/ java -Xmx1574m -jar /usr/local/AstroImageJ/ij.jar exit I am sorry for the inconvenience.... Regards Santosh On 25 January 2017 at 14:10, Karen Collins <[hidden email]> wrote:
|
Administrator
|
Check this thread too for other potential responses:
http://astroimagej.1065399.n5.nabble.com/Re-installation-of-the-AstroimageJ-td604.html |
In reply to this post by johnk
Hi John, Thank you very much for your kind support.java version "1.6.0_20" Java(TM) SE Runtime Environment (build 1.6.0_20-b02) Java HotSpot(TM) Server VM (build 16.3-b01, mixed mode) I am sorry for the inconvenience. On 26 January 2017 at 00:34, John Kielkopf <[hidden email]> wrote:
|
In reply to this post by johnk
Dear John and Kareen, Sorry for bothering you again. This is just to inform that the display problem has been now resolved. I think the problem was with my laptop. When I install AstroimageJ in other computer it is working fine.On 26 January 2017 at 00:34, John Kielkopf <[hidden email]> wrote:
|
Free forum by Nabble | Edit this page |