ARIS Day Switzerland (German)
Register
ARIS Process Mining in action - Live Demo
Register

View all
Profile picture for user izuheb

Dear Community,

I have been Facing an Java PermGen size error, which causes the model to be loading always , when I clicked on any model in Publisher

I tried couple of commands via ACC but nothing worked.

Appreciate if any of the fellow members help on this.

Following is the exception thrown:

 

IT_15231a619c2_WARNING  2016-01-11T17:05:15,202 BPError - com.idsscheer.aris.businesspublisher.application.search.dbnotifier.DatabaseChangeNotifier.checkAndDeliverEvents

Could not deliver database change events: PermGen space

java.lang.OutOfMemoryError: PermGen space

    at sun.misc.Unsafe.defineClass(Native Method)

    at sun.reflect.ClassDefiner.defineClass(ClassDefiner.java:63)

    at sun.reflect.MethodAccessorGenerator$1.run(MethodAccessorGenerator.java:399)

    at sun.reflect.MethodAccessorGenerator$1.run(MethodAccessorGenerator.java:396)

    at java.security.AccessController.doPrivileged(Native Method)

    at sun.reflect.MethodAccessorGenerator.generate(MethodAccessorGenerator.java:395)

    at sun.reflect.MethodAccessorGenerator.generateConstructor(MethodAccessorGenerator.java:94)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:48)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

    at java.lang.reflect.Constructor.newInstance(Constructor.java:526)

    at java.lang.reflect.Proxy.newInstance(Proxy.java:748)

    at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:739)

    at org.apache.tomee.jdbc.TomEEDataSourceCreator$TomEEDataSource.getConnection(TomEEDataSourceCreator.java:265)

    at com.idsscheer.aris.businesspublisher.application.dao.util.ADAOUtils.getDBConnection(ADAOUtils.java:178)

    at com.idsscheer.aris.businesspublisher.application.dao.util.ADAOUtils.getDBConnection(ADAOUtils.java:159)

    at com.idsscheer.aris.businesspublisher.application.dao.database.ASystemBaseDAO.getDatabaseChangeEvents(ASystemBaseDAO.java:1151)

    at com.idsscheer.aris.businesspublisher.application.dao.database.ABPDatabaseChangeEventDataProvider$ABPInitializedDatabaseChangeEventDataProvider.getDatabaseChangeEvents(ABPDatabaseChangeEventDataProvider.java:65)

    at com.idsscheer.aris.businesspublisher.application.dao.database.ABPDatabaseChangeEventDataProvider.getDatabaseChangeEvents(ABPDatabaseChangeEventDataProvider.java:22)

    at com.idsscheer.aris.businesspublisher.application.search.dbnotifier.DatabaseChangeNotifier.checkAndDeliverEvents(DatabaseChangeNotifier.java:100)

    at com.idsscheer.aris.businesspublisher.application.search.dbnotifier.DatabaseChangeNotifier.run(DatabaseChangeNotifier.java:86)

    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)

    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)

    at java.util.concurrent.FutureTask.run(FutureTask.java:166)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

    at java.lang.Thread.run(Thread.java:724)

 

by Runé Becker
Badge for 'Mastermind' achievement
Posted on Mon, 01/11/2016 - 22:43

Dear Zuheb,

Look into file generated.apptypes.cfg where the basic parameters for the runnable businesspublisher_... are defined.

In ARIS Cloud Controller you can reconfigure them, e.g increasing an _s sized runnable to _m:

reconfigure businesspublisher_s +"JAVA-XX\\:MaxPermSize"="256m" +JAVA-Xmx="3g"

But be careful with lacking PermGen size as the root-cause since that runnable uses 256m from _s up to _l sizing.

Cheers

Rune

0
by Zuheb Zeeshan (Zee) Author
Posted on Tue, 01/12/2016 - 08:05

Dear Rune,

Thanks very much, this resolved the problem

 

Thanks,

Zuheb

0

Featured achievement

Genius
You like to help others solve their problems by answering questions.
Recent Unlocks
  • KF
  • KH
  • RG
  • Profile picture for user Vee_ARIS
  • Profile picture for user smarty
  • PacMan

Leaderboard

|
icon-arrow-down icon-arrow-cerulean-left icon-arrow-cerulean-right icon-arrow-down icon-arrow-left icon-arrow-right icon-arrow icon-back icon-close icon-comments icon-correct-answer icon-tick icon-download icon-facebook icon-flag icon-google-plus icon-hamburger icon-in icon-info icon-instagram icon-login-true icon-login icon-mail-notification icon-mail icon-mortarboard icon-newsletter icon-notification icon-pinterest icon-plus icon-rss icon-search icon-share icon-shield icon-snapchat icon-star icon-tutorials icon-twitter icon-universities icon-videos icon-views icon-whatsapp icon-xing icon-youtube icon-jobs icon-heart icon-heart2 aris-express bpm-glossary help-intro help-design Process_Mining_Icon help-publishing help-administration help-dashboarding help-archive help-risk icon-knowledge icon-question icon-events icon-message icon-more icon-pencil forum-icon icon-lock