Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Stash Crashes Due to java.lang.OutOfMemoryError PermGen Space Error #84

Closed
linc01n opened this issue Apr 24, 2015 · 3 comments
Closed
Labels

Comments

@linc01n
Copy link
Collaborator

linc01n commented Apr 24, 2015

I have this issue twice after I upgraded my Stash to 3.8.0 4 days ago. The solution is to increase

default['stash']['jvm']['maximum_permgen'] = '256m'

I am still testing how many ram should I increase

From Stash Knowledge base:

If you're experiencing this issue after upgrading to Stash 3.8+ and are using Java 7, it's likely that the setenv.sh (setenv.bat for Windows) was copied from a previous version.

screen shot 2015-04-24 at 11 43 32 am

source: https://confluence.atlassian.com/display/STASHKB/Stash+Crashes+Due+to+java.lang.OutOfMemoryError+PermGen+Space+Error

@linc01n linc01n added the bug label Apr 24, 2015
@bflad
Copy link
Owner

bflad commented Apr 24, 2015

Seems reasonable to me to change the settings based on the newer default configuration file.

@patcon
Copy link
Collaborator

patcon commented Jun 17, 2015

Any objection to adding logic to the setenv.sh file to create a template correctly when 3.8+? Using the 3.8-style template from that link on v3.10 solved the crash

@mrjcleaver
Copy link

Sounds good to me :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants