phanikumar Raja
phanikumar Raja

Reputation: 1549

i am getting permgen size error in jenkins how to increase

i am getting these below errror while running build using jenkins. can anyone have idea aboout this Error: Exception in thread "channel reader thread: channel" java.lang.outofmemoryerror:permgenspace And how to increase permgen space in jenkins

Upvotes: 3

Views: 4911

Answers (1)

egghese
egghese

Reputation: 2223

You should detail your error report.

Anyways its kind of out of memory problem. Try the steps described here.

I am going on a wild guess, In Manage Jenkins>Configure System. There is an option called, Global MAVEN_OPTS Under Maven Project Configuration section. In there try setting

MaxPermSize=the_size_you_need

eg: MaxPermSize=128m

Upvotes: 4

Related Questions