dhis2-users team mailing list archive
-
dhis2-users team
-
Mailing list archive
-
Message #01831
Re: Problem with PermGen space
On Wed, Feb 20, 2013 at 11:59 AM, Bob Jolliffe <bobjolliffe@xxxxxxxxx> wrote:
> On 20 February 2013 16:51, Lars Helge Øverland <larshelge@xxxxxxxxx> wrote:
>> Hi,
>>
>> just checking.. Its the max perm size option that controls perm gen space,
>> did you include it in the value? Also, try setting it to 512 mb.
>>
>> -XX:MaxPermSize=512m
>
> Just to be sure why don't you try pass that option directly through
> the java command line, ie
> java -XX:MaxPermSize=512m -jar dhis-live.jar
Thanks, that's helpful, but how can I include this in a clickable
shortcut that I can put on the dashboard for the user? I don't want to
require them to open a command window..
It's very strange to me that Java still does not pick up on the
environment variable...
Knut
>>
>> Have you checked in the About page in DHIS 2 that the java opts env is being
>> picked up?
>
> I guess he's not getting as far as being able to check that :-(
>
>>
>> Lars
>>
>>
>>
>> On Wed, Feb 20, 2013 at 5:00 PM, Knut Staring <knutst@xxxxxxxxx> wrote:
>>>
>>> Hi,
>>>
>>> I'm trying to run DHIS Live on a Win8 platform with the default empty
>>> H2 db, but for some reason keep running into OutOfMemory:
>>> PermGenSpace.
>>>
>>> I find this strange to begin with, but especially that it does not
>>> seem to help to create a JAVA_OPTS variable with values as specified
>>> here:
>>> http://dhis2.org/development
>>>
>>> It is still complaining after reboot, even when I start it with "java
>>> -jar dhis-live.jar" in a command window after verifying the
>>> environment variable using "echo %JAVA_OPTS"
>>>
>>> Any ideas?
>>>
>>> --
>>> Knut Staring
>>> Dept. of Informatics, University of Oslo
>>> +4791880522
>>> http://dhis2.org
>>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~dhis2-users
>>> Post to : dhis2-users@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>> More help : https://help.launchpad.net/ListHelp
>>
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-users@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help : https://help.launchpad.net/ListHelp
>>
--
Knut Staring
Dept. of Informatics, University of Oslo
+4791880522
http://dhis2.org
References