installation of the AstroimageJ

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

installation of the AstroimageJ

Santosh Joshi
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.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: installation of the AstroimageJ

karenacollins
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



Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: installation of the AstroimageJ

johnk
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.  

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: installation of the AstroimageJ

Santosh Joshi
Thanks John ! Your inputs  worked !
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: installation of the AstroimageJ

Santosh Joshi
Thanks Karen. The problem is now solved...
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: installation of the AstroimageJ

karenacollins
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


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Re: installation of the AstroimageJ

Santosh Joshi
In reply to this post by johnk
Dear Karen,
                  I am extremely thankful to you for the quick response.
Previously i did not send the information asked by John because the AstroImageJ has been running in my system and same I acknowledge through the AstroimagesJ forum. However, below is the message I could see ....

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:

Hi Santosh,

I have honestly never seen the behavior shown in your images. I really don't have any ideas what is going wrong here, and I don't have enough linux experience to give any detailed guidance. However, my best guess is that this is a memory problem or the lack of particular fonts installed on your system. Installing fonts to use AIJ has never been required to my knowledge, but I wonder if it is a language or region option in the linux installation.

I am hoping that John may have more specific ideas, but as far as I can tell, you still haven't provided the information John asked for by typing the "free" and "cat /usr/local/bin/astroimagej" commands. That request is in this email thread below if you want to look at the details. I expect providing the information he asked for would be helpful in making suggestions for you to try.

Karen



-------- Forwarded Message --------
Subject: Re: installation of the AstroimageJ
Resent-From: [hidden email]
Date: Wed, 25 Jan 2017 05:44:59 +0000
From: Dr. Santosh Joshi [hidden email]
To: johnk [via AstroImageJ] [hidden email], Karen Collins [hidden email]


Dear John and Collin,
                               I am unable to take sanpshot though PrtSc, hence I am sending you the photographs those I click from my mobile.  Moreover, I don't know how to make  attachment though Nabble, hence I am sending them through e-mail. My apologies for  the inconvenience.

I would be happy if you could help me in soloving the problem I have :



I am able to open the fits file through AstroImageJ tool bar. However, if I wish to  see the various options in file of the displayed image, I am able to see only save image and close window. While I click blindly on any other option those are not visible, I can see the corresponding information. Similar problem is appearing in other icons where I can see only yes sign. A quick help would be appreciated.

Some of the the photographs of the computer screen are enclosed here with for your kind inspection.


Regards

Santosh

On 23 January 2017 at 19:57, johnk [via AstroImageJ] <[hidden email]> wrote:
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.  




If you reply to this email, your message will be added to the discussion below:
http://astroimagej.1065399.n5.nabble.com/installation-of-the-AstroimageJ-tp590p594.html
To unsubscribe from installation of the AstroimageJ, click here.
NAML


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Re: installation of the AstroimageJ

karenacollins
Administrator
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Re: installation of the AstroimageJ

Santosh Joshi
In reply to this post by johnk
Hi John,
            Thank you very much for your kind support.

I am using Fedora Core 23 linux operating system.
Window manager Gnome.

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 have downloaded java version "1.8.0_112" and installed but still i can see the java version "1.6.0_20"

I am sorry for the inconvenience.

Regards

Santosh
 


On 26 January 2017 at 00:34, John Kielkopf <[hidden email]> wrote:
This is certainly unusual, and I don't think it is AIJ itself, but probably something about the  x-windows environment and manager in your installation.   I can try to duplicate it here if you will tell me

1. What Linux OS are using, and what version of it
2. What window manager do you have running, e.g KDE, Gnome, xfce (highly recommended, clean, simple)
3. What java version are you running, and have you done anything unusual to modify the the installation of aij, say by moving files around or changing permissions?

You an get the java version from the command line with

java --version

It might return something like this:

java version "1.8.0_112"
Java(TM) SE Runtime Environment (build 1.8.0_112-b15)
Java HotSpot(TM) 64-Bit Server VM (build 25.112-b15, mixed mode



John


On Wed, Jan 25, 2017 at 3:40 AM, Karen Collins <[hidden email]> wrote:

Hi Santosh,

I have honestly never seen the behavior shown in your images. I really don't have any ideas what is going wrong here, and I don't have enough linux experience to give any detailed guidance. However, my best guess is that this is a memory problem or the lack of particular fonts installed on your system. Installing fonts to use AIJ has never been required to my knowledge, but I wonder if it is a language or region option in the linux installation.

I am hoping that John may have more specific ideas, but as far as I can tell, you still haven't provided the information John asked for by typing the "free" and "cat /usr/local/bin/astroimagej" commands. That request is in this email thread below if you want to look at the details. I expect providing the information he asked for would be helpful in making suggestions for you to try.

Karen



-------- Forwarded Message --------
Subject: Re: installation of the AstroimageJ
Resent-From: [hidden email]
Date: Wed, 25 Jan 2017 05:44:59 +0000
From: Dr. Santosh Joshi [hidden email]
To: johnk [via AstroImageJ] [hidden email], Karen Collins [hidden email]


Dear John and Collin,
                               I am unable to take sanpshot though PrtSc, hence I am sending you the photographs those I click from my mobile.  Moreover, I don't know how to make  attachment though Nabble, hence I am sending them through e-mail. My apologies for  the inconvenience.

I would be happy if you could help me in soloving the problem I have :



I am able to open the fits file through AstroImageJ tool bar. However, if I wish to  see the various options in file of the displayed image, I am able to see only save image and close window. While I click blindly on any other option those are not visible, I can see the corresponding information. Similar problem is appearing in other icons where I can see only yes sign. A quick help would be appreciated.

Some of the the photographs of the computer screen are enclosed here with for your kind inspection.


Regards

Santosh

On 23 January 2017 at 19:57, johnk [via AstroImageJ] <[hidden email]> wrote:
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.  




If you reply to this email, your message will be added to the discussion below:
http://astroimagej.1065399.n5.nabble.com/installation-of-the-AstroimageJ-tp590p594.html
To unsubscribe from installation of the AstroimageJ, click here.
NAML




--
John Kielkopf
Professor of Physics and Astronomy
University of Louisville
Louisville, KY 40292
Tel:502.852.5990  
Fax:502.852.0742

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Re: installation of the AstroimageJ

Santosh Joshi
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.

Thanks a lot.

Regards

Santosh

On 26 January 2017 at 00:34, John Kielkopf <[hidden email]> wrote:
This is certainly unusual, and I don't think it is AIJ itself, but probably something about the  x-windows environment and manager in your installation.   I can try to duplicate it here if you will tell me

1. What Linux OS are using, and what version of it
2. What window manager do you have running, e.g KDE, Gnome, xfce (highly recommended, clean, simple)
3. What java version are you running, and have you done anything unusual to modify the the installation of aij, say by moving files around or changing permissions?

You an get the java version from the command line with

java --version

It might return something like this:

java version "1.8.0_112"
Java(TM) SE Runtime Environment (build 1.8.0_112-b15)
Java HotSpot(TM) 64-Bit Server VM (build 25.112-b15, mixed mode



John


On Wed, Jan 25, 2017 at 3:40 AM, Karen Collins <[hidden email]> wrote:

Hi Santosh,

I have honestly never seen the behavior shown in your images. I really don't have any ideas what is going wrong here, and I don't have enough linux experience to give any detailed guidance. However, my best guess is that this is a memory problem or the lack of particular fonts installed on your system. Installing fonts to use AIJ has never been required to my knowledge, but I wonder if it is a language or region option in the linux installation.

I am hoping that John may have more specific ideas, but as far as I can tell, you still haven't provided the information John asked for by typing the "free" and "cat /usr/local/bin/astroimagej" commands. That request is in this email thread below if you want to look at the details. I expect providing the information he asked for would be helpful in making suggestions for you to try.

Karen



-------- Forwarded Message --------
Subject: Re: installation of the AstroimageJ
Resent-From: [hidden email]
Date: Wed, 25 Jan 2017 05:44:59 +0000
From: Dr. Santosh Joshi [hidden email]
To: johnk [via AstroImageJ] [hidden email], Karen Collins [hidden email]


Dear John and Collin,
                               I am unable to take sanpshot though PrtSc, hence I am sending you the photographs those I click from my mobile.  Moreover, I don't know how to make  attachment though Nabble, hence I am sending them through e-mail. My apologies for  the inconvenience.

I would be happy if you could help me in soloving the problem I have :



I am able to open the fits file through AstroImageJ tool bar. However, if I wish to  see the various options in file of the displayed image, I am able to see only save image and close window. While I click blindly on any other option those are not visible, I can see the corresponding information. Similar problem is appearing in other icons where I can see only yes sign. A quick help would be appreciated.

Some of the the photographs of the computer screen are enclosed here with for your kind inspection.


Regards

Santosh

On 23 January 2017 at 19:57, johnk [via AstroImageJ] <[hidden email]> wrote:
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.  




If you reply to this email, your message will be added to the discussion below:
http://astroimagej.1065399.n5.nabble.com/installation-of-the-AstroimageJ-tp590p594.html
To unsubscribe from installation of the AstroimageJ, click here.
NAML




--
John Kielkopf
Professor of Physics and Astronomy
University of Louisville
Louisville, KY 40292
Tel:502.852.5990  
Fax:502.852.0742

Loading...