Unable to insert Web Transaction Test

PROBLEM:

Unable to insert Web Transaction Test

CAUSE:

After running <Traverse_Home>\database\schema\alter\insertDeepWebTestScripts.sh.cmd script run out of heap memory

 Issue as displayed in the screen:

 Exception in thread "main" java.lang.OutOfMemoryError: Java heap space

 at com.poet.rt.backend.poet.ObjectReaderMethods._readString(Native Metho 
d)
at com.poet.rt.db.adapter.poet.AbstractObjectReader.replacingStringField
(Unknown Source)
at com.zyrion.traverse.model.testconfig.SnmpTest.jdoReplaceField(SnmpTes
t.java:1)
at com.zyrion.traverse.model.Model.jdoReplaceFields(Model.java:1)
at com.poet.rt.db.DelegatingStateManager.replaceFields(Unknown Source)
at com.poet.rt.db.ObjectReader.readSlots(Unknown Source)
at com.poet.rt.db.ObjectReader.fill(Unknown Source)
at com.poet.rt.db.LocalPersistenceManager.doBackendRead(Unknown Source)
at com.poet.rt.db.LocalPersistenceManager.doReadInsideTxn(Unknown Source
)
at com.poet.rt.db.LocalPersistenceManager.readInsideTxn(Unknown Source)
at com.poet.rt.db.adapter.poet.POETTransaction.arrayRead(Unknown Source)

at com.poet.rt.db.LocalPersistenceManager.readAll(Unknown Source)
at com.poet.rt.db.LocalPersistenceManager.retrieveAll(Unknown Source)
at com.poet.rt.db.LocalPersistenceManager.retrieveAll(Unknown Source)
at com.poet.odmg.ObjectServices.resolveAll(Unknown Source)
at com.zyrion.traverse.database.DatabaseServices.resolveAll(DatabaseServ
ices.java:273)
at com.zyrion.traverse.database.WebAppPersistentObjectCache.loadNetworkD
evices(WebAppPersistentObjectCache.java:575)
at com.zyrion.traverse.database.WebAppPersistentObjectCache.loadObjects(
WebAppPersistentObjectCache.java:469)
at com.zyrion.traverse.database.PersistentObjectCache.init(PersistentObj
ectCache.java:1354)
at com.zyrion.traverse.database.PoetTransactionBroker.initializeCache(Po
etTransactionBroker.java:1205)
at com.zyrion.traverse.database.PoetTransactionBroker.initialize(PoetTra
nsactionBroker.java:322)
at com.zyrion.traverse.utils.DeepWebTestScriptInserter.main(DeepWebTestS
criptInserter.java:124)

 

RESOLUTION:

Edit <Traverse_Home>\database\schema\alter\insertDeepWebTestScripts.sh.cmd with your favorite editor and change line 33 from -Xmx256m to -Xms512m as shown in the image below

Re-run the script after this.

 

APPLIES TO:

All versions of Traverse

 

Have more questions?

Contact us

Was this article helpful?
0 out of 0 found this helpful

Provide feedback for the Documentation team!

Browse this section