Voici la stack trace de l'exception qui ma été lancée. Honnêtement je pense
que c'est juste ma JVM qui chie des tacs pis qui manque de mémoire. (Je
vais d'ailleurs voir comment lui allouer plus de mémoire)
Mais peut-être que notre programme bouffe des ressources a mort aussi.
Essayez une successions tres rapides d'utilisation des accesseurs comme
j'ai fait si vous avez rien a faire chez vous un samedi soir a 3h du mat!
2009-11-11 20:43:57.139::WARN: /Production/Edit/Machine?PKmachineID=1
java.lang.OutOfMemoryError: Java heap space
at sun.reflect.GeneratedConstructorAccessor3.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at
newtonERP.orm.EntityCreator.createEntitiesFromResultSet(EntityCreator.java:47)
at newtonERP.orm.Orm.select(Orm.java:106)
at newtonERP.orm.Orm.select(Orm.java:120)
at
newtonERP.orm.associations.SingleAccessorManager.getForeignEntity(SingleAccessor
Manager.java:57)
at
newtonERP.orm.associations.SingleAccessorManager.getSingleAccessor(SingleAccesso
rManager.java:86)
at
newtonERP.orm.associations.AccessorManager.getSingleAccessor(AccessorManager.jav
a:102)
at
newtonERP.module.AbstractOrmEntity.getSingleAccessor(AbstractOrmEntity.java:610)
at
modules.userRightModule.entityDefinitions.User.getGroupsEntity(User.java:51)
at modules.userRightModule.actions.RightCheck.doAction(RightCheck.java:33)
at newtonERP.module.AbstractAction.perform(AbstractAction.java:53)
at newtonERP.serveur.CommandRouteur.routeCommand(CommandRouteur.java:57)
at newtonERP.serveur.Servlet.urlToAction(Servlet.java:132)
at newtonERP.serveur.Servlet.handle(Servlet.java:67)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:536)
at
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.ja
va:915)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:405)
at
org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
at
org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
2009-11-11 20:43:57.139::WARN: /HumanResources/Edit/Employee?PKemployeeID=1
java.lang.OutOfMemoryError: Java heap space
at java.lang.StringBuilder.toString(Unknown Source)
at
newtonERP.module.AbstractOrmEntity.getPrimaryKeyName(AbstractOrmEntity.java:397)
at
newtonERP.module.AbstractOrmEntity.getNaturalKeyNameList(AbstractOrmEntity.java:
496)
at
newtonERP.module.AbstractOrmEntity.getNaturalKeyName(AbstractOrmEntity.java:562)
at
newtonERP.orm.associations.ListOfValueManager.addListOfValue(ListOfValueManager.
java:29)
at
newtonERP.orm.associations.AccessorManager.addAccessor(AccessorManager.java:28)
at modules.production.entityDefinitions.Machine.<init>(Machine.java:31)
at
modules.production.entityDefinitions.MaintenanceTicket.<init>(MaintenanceTicket.
java:34)
at sun.reflect.GeneratedConstructorAccessor6.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at
newtonERP.orm.EntityCreator.createEntitiesFromResultSet(EntityCreator.java:47)
at newtonERP.orm.Orm.select(Orm.java:106)
at newtonERP.orm.Orm.select(Orm.java:120)
at
newtonERP.orm.associations.PluralAccessorManager.addFromNegativeListOfValueList(
PluralAccessorManager.java:161)
at
newtonERP.orm.associations.PluralAccessorManager.getPluralAccessorList(PluralAcc
essorManager.java:31)
at
newtonERP.orm.associations.AccessorManager.getPluralAccessorList(AccessorManager
.java:78)
at
newtonERP.module.AbstractOrmEntity.getPluralAccessorList(AbstractOrmEntity.java:
584)
at
newtonERP.viewers.PromptViewer.getMultipleAccessorLinkList(PromptViewer.java:148
)
at newtonERP.viewers.PromptViewer.getHtmlCode(PromptViewer.java:127)
at newtonERP.viewers.Viewer.getHtmlCode(Viewer.java:42)
at newtonERP.serveur.Servlet.handle(Servlet.java:69)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:536)
at
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.ja
va:915)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
Original issue reported on code.google.com by jonathan...@gmail.com on 12 Nov 2009 at 1:47
Original issue reported on code.google.com by
jonathan...@gmail.com
on 12 Nov 2009 at 1:47