Can't increase memory limit in FIJI

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Can't increase memory limit in FIJI

Stoyan Pavlov
Hello all,
I have ran into the following problem.
When I try to increase the memory limit in Fiji (say to 1300 MB) the
program gives a message that the limit will be set after a restart. When I
restart however the limit is set to 716MB. IN the jvm.cfg there is
-Xmx1300m entry but the limit is just 716MB.
My other ImageJ distribution doesn't have this problem.
I am running windowsXP 32bit with 2048 MB of RAM. Both Imagej installments
are installed with the bundled java, although I have java installed on the
system aswell.

Is there any explanation and solution for this behaviour?
Stoyan

--
Dr. Stoyan P. Pavlov, MD, PhD
Departament of Anatomy, Histology and Embryology
Medical University "Prof. Dr. Paraskev Stoyanov", Varna
Prof. Marin Drinov Str.55
9002 Varna
 Bulgaria
Tel: +359 (0) 52 - 677 - 086
e-mail: [hidden email]

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Can't increase memory limit in FIJI

Stoyan Pavlov
Update: Just found out that when I change the name of jvm.cfg to ImageJ.cfg
the memory  limit works.  But when I try to change it again, fiji writes in
the jvm.cfg and not in the ImageJ.cfg. Weird or what!?!?!?!?!?!?
Stoyan


2013/5/30 Stoyan Pavlov <[hidden email]>

> Hello all,
> I have ran into the following problem.
> When I try to increase the memory limit in Fiji (say to 1300 MB) the
> program gives a message that the limit will be set after a restart. When I
> restart however the limit is set to 716MB. IN the jvm.cfg there is
> -Xmx1300m entry but the limit is just 716MB.
> My other ImageJ distribution doesn't have this problem.
> I am running windowsXP 32bit with 2048 MB of RAM. Both Imagej installments
> are installed with the bundled java, although I have java installed on the
> system aswell.
>
> Is there any explanation and solution for this behaviour?
> Stoyan
>
> --
> Dr. Stoyan P. Pavlov, MD, PhD
> Departament of Anatomy, Histology and Embryology
> Medical University "Prof. Dr. Paraskev Stoyanov", Varna
> Prof. Marin Drinov Str.55
> 9002 Varna
>  Bulgaria
> Tel: +359 (0) 52 - 677 - 086
> e-mail: [hidden email]
>
>
>


--
Dr. Stoyan P. Pavlov, MD, PhD
Departament of Anatomy, Histology and Embryology
Medical University "Prof. Dr. Paraskev Stoyanov", Varna
Prof. Marin Drinov Str.55
9002 Varna
 Bulgaria
Tel: +359 (0) 52 - 677 - 086
e-mail: [hidden email]

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Can't increase memory limit in FIJI

dscho
Hi,

On Thu, 30 May 2013, Stoyan Pavlov wrote:

> 2013/5/30 Stoyan Pavlov <[hidden email]>
>
> > I have ran into the following problem.
> >
> > When I try to increase the memory limit in Fiji (say to 1300 MB) the
> > program gives a message that the limit will be set after a restart.
> > When I restart however the limit is set to 716MB. IN the jvm.cfg there
> > is -Xmx1300m entry but the limit is just 716MB.
> >
> > My other ImageJ distribution doesn't have this problem.
> >
> > I am running windowsXP 32bit with 2048 MB of RAM. Both Imagej
> > installments are installed with the bundled java, although I have java
> > installed on the system aswell.
> >
> > Is there any explanation and solution for this behaviour?
>
> Update: Just found out that when I change the name of jvm.cfg to
> ImageJ.cfg the memory  limit works.  But when I try to change it again,
> fiji writes in the jvm.cfg and not in the ImageJ.cfg. Weird or
> what!?!?!?!?!?!?

The idea of introducing jvm.cfg with Fiji was to introduce a
platform-independent configuration file (ImageJ.cfg is Windows-specific,
really). However, ImageJ 1.x never incorporated this change, so we now
heed ImageJ.cfg over jvm.cfg in Fiji (ignoring the Windows-specific
parts).

The plugin in Fiji that overrides ImageJ 1.x' memory option plugin was not
yet adapted. I will fix it later today and upload a new version of
fiji-compat (which will fix your problem).

Thanks for reporting the issue!
Johannes

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Can't increase memory limit in FIJI

Stoyan Pavlov
Thank you very much!


2013/5/30 Johannes Schindelin <[hidden email]>

> Hi,
>
> On Thu, 30 May 2013, Stoyan Pavlov wrote:
>
> > 2013/5/30 Stoyan Pavlov <[hidden email]>
> >
> > > I have ran into the following problem.
> > >
> > > When I try to increase the memory limit in Fiji (say to 1300 MB) the
> > > program gives a message that the limit will be set after a restart.
> > > When I restart however the limit is set to 716MB. IN the jvm.cfg there
> > > is -Xmx1300m entry but the limit is just 716MB.
> > >
> > > My other ImageJ distribution doesn't have this problem.
> > >
> > > I am running windowsXP 32bit with 2048 MB of RAM. Both Imagej
> > > installments are installed with the bundled java, although I have java
> > > installed on the system aswell.
> > >
> > > Is there any explanation and solution for this behaviour?
> >
> > Update: Just found out that when I change the name of jvm.cfg to
> > ImageJ.cfg the memory  limit works.  But when I try to change it again,
> > fiji writes in the jvm.cfg and not in the ImageJ.cfg. Weird or
> > what!?!?!?!?!?!?
>
> The idea of introducing jvm.cfg with Fiji was to introduce a
> platform-independent configuration file (ImageJ.cfg is Windows-specific,
> really). However, ImageJ 1.x never incorporated this change, so we now
> heed ImageJ.cfg over jvm.cfg in Fiji (ignoring the Windows-specific
> parts).
>
> The plugin in Fiji that overrides ImageJ 1.x' memory option plugin was not
> yet adapted. I will fix it later today and upload a new version of
> fiji-compat (which will fix your problem).
>
> Thanks for reporting the issue!
> Johannes
>



--
Dr. Stoyan P. Pavlov, MD, PhD
Departament of Anatomy, Histology and Embryology
Medical University "Prof. Dr. Paraskev Stoyanov", Varna
Prof. Marin Drinov Str.55
9002 Varna
 Bulgaria
Tel: +359 (0) 52 - 677 - 086
e-mail: [hidden email]

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Can't increase memory limit in FIJI

dscho
Hi Stoyan,

On Thu, 30 May 2013, Stoyan Pavlov wrote:

> 2013/5/30 Johannes Schindelin <[hidden email]>
>
> > On Thu, 30 May 2013, Stoyan Pavlov wrote:
> >
> > > 2013/5/30 Stoyan Pavlov <[hidden email]>
> > >
> > > > I have ran into the following problem.
> > > >
> > > > When I try to increase the memory limit in Fiji (say to 1300 MB) the
> > > > program gives a message that the limit will be set after a restart.
> > > > When I restart however the limit is set to 716MB. IN the jvm.cfg there
> > > > is -Xmx1300m entry but the limit is just 716MB.
> > > >
> > > > My other ImageJ distribution doesn't have this problem.
> > > >
> > > > I am running windowsXP 32bit with 2048 MB of RAM. Both Imagej
> > > > installments are installed with the bundled java, although I have java
> > > > installed on the system aswell.
> > > >
> > > > Is there any explanation and solution for this behaviour?
> > >
> > > Update: Just found out that when I change the name of jvm.cfg to
> > > ImageJ.cfg the memory  limit works.  But when I try to change it again,
> > > fiji writes in the jvm.cfg and not in the ImageJ.cfg. Weird or
> > > what!?!?!?!?!?!?
> >
> > The idea of introducing jvm.cfg with Fiji was to introduce a
> > platform-independent configuration file (ImageJ.cfg is Windows-specific,
> > really). However, ImageJ 1.x never incorporated this change, so we now
> > heed ImageJ.cfg over jvm.cfg in Fiji (ignoring the Windows-specific
> > parts).
> >
> > The plugin in Fiji that overrides ImageJ 1.x' memory option plugin was not
> > yet adapted. I will fix it later today and upload a new version of
> > fiji-compat (which will fix your problem).
> >
> > Thanks for reporting the issue!
>
> Thank you very much!

It is uploaded. Could you please verify that it is fixed?

Thanks,
Johannes

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html