Bonjour, J'ai voulu lancer 50 AS mais au bout de 10, Isis a levé le pouce. Il s'agit vraisemblablement d'un problème de mémoire. J'utilise la version 4.1.0.1. Je joins la fin du debug avec les messages d'erreur (trop gros pour être envoyé par mail en entier): ERROR [pool-4-thread-1] (JDBCExceptionReporter.java:234) logExceptions - Out of memory.; SQL statement: RUNSCRIPT FROM 'C:\Users\pmarchal\isis-fish-4\isis-database\simulations\as_deepv4_2012-09-13-19-09_29\data-backup.sql.gz' COMPRESSION GZIP [90108-166] ERROR [pool-4-thread-1] (InProcessSimulatorLauncher.java:148) simulate - Can't do simulation as_deepv4_2012-09-13-19-09_29 org.nuiton.topia.TopiaException: topia.persistence.error.on.restore at org.nuiton.topia.framework.TopiaContextImpl.restore(TopiaContextImpl.java:1349) at fr.ifremer.isisfish.datastore.SimulationStorage.importAndRenameZip(SimulationStorage.java:703) at fr.ifremer.isisfish.datastore.SimulationStorage.importAndRenameZip(SimulationStorage.java:653) at fr.ifremer.isisfish.simulator.launcher.InProcessSimulatorLauncher.simulate(InProcessSimulatorLauncher.java:123) at fr.ifremer.isisfish.simulator.launcher.SimulationJob.run(SimulationJob.java:287) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: org.hibernate.exception.GenericJDBCException: could not execute native bulk manipulation query at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:140) at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:128) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.engine.query.NativeSQLQueryPlan.performExecuteUpdate(NativeSQLQueryPlan.java:219) at org.hibernate.impl.SessionImpl.executeNativeUpdate(SessionImpl.java:1310) at org.hibernate.impl.SQLQueryImpl.executeUpdate(SQLQueryImpl.java:396) at org.nuiton.topia.framework.TopiaContextImpl.restore(TopiaContextImpl.java:1344) ... 7 more Caused by: org.h2.jdbc.JdbcSQLException: Out of memory.; SQL statement: RUNSCRIPT FROM 'C:\Users\pmarchal\isis-fish-4\isis-database\simulations\as_deepv4_2012-09-13-19-09_29\data-backup.sql.gz' COMPRESSION GZIP [90108-166] at org.h2.message.DbException.getJdbcSQLException(DbException.java:329) at org.h2.message.DbException.get(DbException.java:158) at org.h2.message.DbException.convert(DbException.java:275) at org.h2.command.Command.executeUpdate(Command.java:230) at org.h2.jdbc.JdbcPreparedStatement.executeUpdateInternal(JdbcPreparedStatement.java:143) at org.h2.jdbc.JdbcPreparedStatement.executeUpdate(JdbcPreparedStatement.java:129) at org.hibernate.engine.query.NativeSQLQueryPlan.performExecuteUpdate(NativeSQLQueryPlan.java:210) ... 10 more Caused by: java.lang.OutOfMemoryError: PermGen space INFO [pool-4-thread-1] (SimulationJob.java:209) run - Start simulation: as_deepv4_2012-09-13-19-09_30 INFO [pool-4-thread-1] (SimulationMonitor.java:364) simulationStart - Saving simulation as_deepv4_2012-09-13-19-09_30 as started INFO [pool-4-thread-1] (InProcessSimulatorLauncher.java:102) simulate - simulate as_deepv4_2012-09-13-19-09_30 with file C:\Users\pmarchal\AppData\Local\Temp\isisfish-simulation-1347556173156-preparation.zip INFO [pool-4-thread-1] (SimulationStorage.java:687) importAndRenameZip - Import simulation file C:\Users\pmarchal\AppData\Local\Temp\isisfish-simulation-1347556173156-preparation.zip in directory C:\Users\pmarchal\isis-fish-4\isis-database\simulations and rename from ^.*?/(.*)$ to as_deepv4_2012-09-13-19-09_30/$1 INFO [pool-4-thread-1] (SimulationStorage.java:694) importAndRenameZip - Last entry was as_deepv4_2012-09-13-19-09_30/simulators/DefaultSimulator.java extract name as_deepv4_2012-09-13-19-09_30 INFO [pool-4-thread-1] (DataStorage.java:209) getStorage - Create new storage for as_deepv4_2012-09-13-19-09_30 ERROR [pool-4-thread-1] (JavassistLazyInitializer.java:165) getProxyFactory - Javassist Enhancement failed: fr.ifremer.isisfish.entities.PopulationSeasonInfoImpl java.lang.OutOfMemoryError: PermGen space INFO [SimThread as_deepv4_2012-09-13-19-09_30] (InProcessSimulatorLauncher.java:316) localSimulateSameThread - 14/09/12 09:16 Java version: 1.6.0_24-b07 Isis-fish version: 4.1.0.0 INFO [SimThread as_deepv4_2012-09-13-19-09_30] (InProcessSimulatorLauncher.java:291) changeClassLoader - Classloader used for simulation: fr.ifremer.isisfish.aspect.AspectClassLoader@e68945 [file:/C:/Users/pmarchal/isis-fish-4/isis-database/simulations/as_deepv4_2012-09-13-19-09_30/, file:/C:/Users/pmarchal/isis-fish-4/isis-build/as_deepv4_2012-09-13-19-09_30/] INFO [SimThread as_deepv4_2012-09-13-19-09_30] (InProcessSimulatorLauncher.java:203) message - Mise en place des aspects Cache INFO [SimThread as_deepv4_2012-09-13-19-09_30] (SimulationControl.java:202) setText - Mise en place des aspects Cache ERROR [SimThread as_deepv4_2012-09-13-19-09_30] (InProcessSimulatorLauncher.java:429) localSimulateSameThread - Error during simulation java.lang.OutOfMemoryError: PermGen space INFO [SimThread as_deepv4_2012-09-13-19-09_30] (InProcessSimulatorLauncher.java:463) localSimulateSameThread - Simulation time: 2.074 ERROR [SimThread as_deepv4_2012-09-13-19-09_30] (IsisFish.java:635) uncaughtException - Global application exception fr.ifremer.isisfish.simulator.SimulationException: Out of memory try with more memory (option -mx) at fr.ifremer.isisfish.simulator.launcher.InProcessSimulatorLauncher.localSimulateSameThread(InProcessSimulatorLauncher.java:431) at fr.ifremer.isisfish.simulator.launcher.InProcessSimulatorLauncher$SimThread.run(InProcessSimulatorLauncher.java:265) Caused by: java.lang.OutOfMemoryError: PermGen space INFO [monitor-thread] (SimulationMonitor.java:477) waitAndCheckProgression - Job as_deepv4_2012-09-13-19-09_30 finished INFO [monitor-thread] (SimulationMonitor.java:590) doPostSimulationOperation - Do post simulation operation for as_deepv4_2012-09-13-19-09_30 INFO [monitor-thread] (SimulationControl.java:202) setText - Recherche de la dernière simulation INFO [monitor-thread] (SimulationControl.java:202) setText - Simulation terminée INFO [monitor-thread] (SimulationMonitor.java:408) simulationStop - Saving simulation as_deepv4_2012-09-13-19-09_30 as stopped INFO [pool-4-thread-1] (SimulationJob.java:209) run - Start simulation: as_deepv4_2012-09-13-19-09_31 INFO [pool-4-thread-1] (SimulationMonitor.java:364) simulationStart - Saving simulation as_deepv4_2012-09-13-19-09_31 as started INFO [pool-4-thread-1] (InProcessSimulatorLauncher.java:102) simulate - simulate as_deepv4_2012-09-13-19-09_31 with file C:\Users\pmarchal\AppData\Local\Temp\isisfish-simulation-1347556173156-preparation.zip INFO [pool-4-thread-1] (SimulationStorage.java:687) importAndRenameZip - Import simulation file C:\Users\pmarchal\AppData\Local\Temp\isisfish-simulation-1347556173156-preparation.zip in directory C:\Users\pmarchal\isis-fish-4\isis-database\simulations and rename from ^.*?/(.*)$ to as_deepv4_2012-09-13-19-09_31/$1 INFO [pool-4-thread-1] (SimulationStorage.java:694) importAndRenameZip - Last entry was as_deepv4_2012-09-13-19-09_31/simulators/DefaultSimulator.java extract name as_deepv4_2012-09-13-19-09_31 INFO [pool-4-thread-1] (DataStorage.java:209) getStorage - Create new storage for as_deepv4_2012-09-13-19-09_31 WARN [pool-4-thread-1] (SimulationJob.java:342) run - Can't simulate as_deepv4_2012-09-13-19-09_31 java.lang.OutOfMemoryError: PermGen space INFO [pool-4-thread-1] (SimulationJob.java:209) run - Start simulation: as_deepv4_2012-09-13-19-09_32 INFO [pool-4-thread-1] (SimulationMonitor.java:364) simulationStart - Saving simulation as_deepv4_2012-09-13-19-09_32 as started INFO [pool-4-thread-1] (InProcessSimulatorLauncher.java:102) simulate - simulate as_deepv4_2012-09-13-19-09_32 with file C:\Users\pmarchal\AppData\Local\Temp\isisfish-simulation-1347556173156-preparation.zip INFO [pool-4-thread-1] (SimulationStorage.java:687) importAndRenameZip - Import simulation file C:\Users\pmarchal\AppData\Local\Temp\isisfish-simulation-1347556173156-preparation.zip in directory C:\Users\pmarchal\isis-fish-4\isis-database\simulations and rename from ^.*?/(.*)$ to as_deepv4_2012-09-13-19-09_32/$1 INFO [pool-4-thread-1] (SimulationStorage.java:694) importAndRenameZip - Last entry was as_deepv4_2012-09-13-19-09_32/simulators/DefaultSimulator.java extract name as_deepv4_2012-09-13-19-09_32 INFO [pool-4-thread-1] (DataStorage.java:209) getStorage - Create new storage for as_deepv4_2012-09-13-19-09_32 ERROR [pool-4-thread-1] (JavassistLazyInitializer.java:165) getProxyFactory - Javassist Enhancement failed: fr.ifremer.isisfish.entities.PopulationSeasonInfoImpl java.lang.OutOfMemoryError: PermGen space INFO [SimThread as_deepv4_2012-09-13-19-09_32] (InProcessSimulatorLauncher.java:316) localSimulateSameThread - 14/09/12 09:16 Java version: 1.6.0_24-b07 Isis-fish version: 4.1.0.0 INFO [SimThread as_deepv4_2012-09-13-19-09_32] (InProcessSimulatorLauncher.java:291) changeClassLoader - Classloader used for simulation: fr.ifremer.isisfish.aspect.AspectClassLoader@858c86 [file:/C:/Users/pmarchal/isis-fish-4/isis-database/simulations/as_deepv4_2012-09-13-19-09_32/, file:/C:/Users/pmarchal/isis-fish-4/isis-build/as_deepv4_2012-09-13-19-09_32/] INFO [SimThread as_deepv4_2012-09-13-19-09_32] (InProcessSimulatorLauncher.java:203) message - Mise en place des aspects Cache INFO [SimThread as_deepv4_2012-09-13-19-09_32] (SimulationControl.java:202) setText - Mise en place des aspects Cache INFO [SimThread as_deepv4_2012-09-13-19-09_32] (DataStorage.java:164) getMemStorage - Create new memory storage for as_deepv4_2012-09-13-19-09_32 ERROR [SimThread as_deepv4_2012-09-13-19-09_32] (InProcessSimulatorLauncher.java:429) localSimulateSameThread - Error during simulation java.lang.OutOfMemoryError: PermGen space INFO [monitor-thread] (SimulationMonitor.java:477) waitAndCheckProgression - Job as_deepv4_2012-09-13-19-09_32 finished INFO [monitor-thread] (SimulationMonitor.java:590) doPostSimulationOperation - Do post simulation operation for as_deepv4_2012-09-13-19-09_32 INFO [monitor-thread] (SimulationControl.java:202) setText - Recherche de la dernière simulation INFO [monitor-thread] (SimulationControl.java:202) setText - Simulation terminée INFO [monitor-thread] (SimulationMonitor.java:408) simulationStop - Saving simulation as_deepv4_2012-09-13-19-09_32 as stopped INFO [SimThread as_deepv4_2012-09-13-19-09_32] (InProcessSimulatorLauncher.java:463) localSimulateSameThread - Simulation time: 2.167 ERROR [SimThread as_deepv4_2012-09-13-19-09_32] (IsisFish.java:635) uncaughtException - Global application exception fr.ifremer.isisfish.simulator.SimulationException: Out of memory try with more memory (option -mx) at fr.ifremer.isisfish.simulator.launcher.InProcessSimulatorLauncher.localSimulateSameThread(InProcessSimulatorLauncher.java:431) at fr.ifremer.isisfish.simulator.launcher.InProcessSimulatorLauncher$SimThread.run(InProcessSimulatorLauncher.java:265) Caused by: java.lang.OutOfMemoryError: PermGen space Merci pour vos lumières Paul -- Paul Marchal IFREMER DOP/DHMMN Laboratoire Ressources Halieutiques de Boulogne/mer Boulogne/mer Fishery Resources Laboratory http://wwz.ifremer.fr/manchemerdunord 150, Quai Gambetta BP 699 62321 Boulogne sur mer FRANCE Tel: (+33) 321 99 56 86 Fax: (+33) 321 99 56 01 Mail: paul.marchal@ifremer.fr