Java.lang.OutOfMemoryError: PermGen space error
by BetaSteward
Moderators: North, BetaSteward, noxx, jeffwadsworth, JayDi, TheElk801, LevelX, CCGHQ Admins
Java.lang.OutOfMemoryError: PermGen space error
by Deathpossum » 26 May 2013, 02:36
Whenever I try to play a game, after about 30 seconds I get a Java.lang.OutOfMemoryError: PermGen error and have to quit.
I have tried updating Java and giving more memory in the StartWin7.bat file.
Running Windows 7 64bit
Version 1.0.2 of MAGE
I have tried updating Java and giving more memory in the StartWin7.bat file.
Running Windows 7 64bit
Version 1.0.2 of MAGE
- Deathpossum
- Posts: 3
- Joined: 26 May 2013, 01:50
- Has thanked: 0 time
- Been thanked: 0 time
Re: Java.lang.OutOfMemoryError: PermGen space error
by Deathpossum » 26 May 2013, 04:45
Does anyone know where the preferences/settings are kept? I have deleted all my MAGE files but whenever I reinstall the settings stay.
- Deathpossum
- Posts: 3
- Joined: 26 May 2013, 01:50
- Has thanked: 0 time
- Been thanked: 0 time
Re: Java.lang.OutOfMemoryError: PermGen space error
by LevelX » 26 May 2013, 05:17
Do you use 32bit JRE version?Deathpossum wrote:Whenever I try to play a game, after about 30 seconds I get a Java.lang.OutOfMemoryError: PermGen error and have to quit.
I have tried updating Java and giving more memory in the StartWin7.bat file.
Running Windows 7 64bit
Version 1.0.2 of MAGE
Because 64bit JRE won't work (at least with Windows client).
Which program gives this error, Client or Server?
Do you use local or public server?
Best use dev version, it has got a lot of bugfixes already.
-
LevelX - DEVELOPER
- Posts: 1677
- Joined: 08 Dec 2011, 15:08
- Has thanked: 174 times
- Been thanked: 374 times
Re: Java.lang.OutOfMemoryError: PermGen space error
by LevelX » 26 May 2013, 05:43
In the windows registry (use Regedit.exe to change)Deathpossum wrote:Does anyone know where the preferences/settings are kept? I have deleted all my MAGE files but whenever I reinstall the settings stay.
HKEY_CURRENT_USER\Software\JavaSoft\Prefs\mage\...
-
LevelX - DEVELOPER
- Posts: 1677
- Joined: 08 Dec 2011, 15:08
- Has thanked: 174 times
- Been thanked: 374 times
Re: Java.lang.OutOfMemoryError: PermGen space error
by Deathpossum » 26 May 2013, 06:23
Alright, downloading dev version and JRE x86 right now. I did have x64 installed, it has been working until I downloaded 1.0.2.LevelX wrote:Do you use 32bit JRE version?Deathpossum wrote:Whenever I try to play a game, after about 30 seconds I get a Java.lang.OutOfMemoryError: PermGen error and have to quit.
I have tried updating Java and giving more memory in the StartWin7.bat file.
Running Windows 7 64bit
Version 1.0.2 of MAGE
Because 64bit JRE won't work (at least with Windows client).
Which program gives this error, Client or Server?
Do you use local or public server?
Best use dev version, it has got a lot of bugfixes already.
I was running the client and on a public server.
- Deathpossum
- Posts: 3
- Joined: 26 May 2013, 01:50
- Has thanked: 0 time
- Been thanked: 0 time
Re: Java.lang.OutOfMemoryError: PermGen space error
by bat » 30 Jun 2013, 11:00
When I previously got this error, i edited the startclient.bat file IN THE mage-client FOLDER and added
-XX:+CMSPermGenSweepingEnabled
after -XX:+CMSClassUnloadingEnabled
Moreover, I edited the allocated memory values like this
-Xms512M -Xmx2048M -XX:MaxPermSize=384M
... but i do not know if it helped the soft to run smoother
-XX:+CMSPermGenSweepingEnabled
after -XX:+CMSClassUnloadingEnabled
Moreover, I edited the allocated memory values like this
-Xms512M -Xmx2048M -XX:MaxPermSize=384M
... but i do not know if it helped the soft to run smoother
- bat
- Posts: 7
- Joined: 23 Mar 2013, 19:39
- Has thanked: 0 time
- Been thanked: 0 time
6 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 135 guests