Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » [CDO] Encounter java.lang.OutOfMemoryError: GC overhead limit exceeded when commit from 4 clients
[CDO] Encounter java.lang.OutOfMemoryError: GC overhead limit exceeded when commit from 4 clients [message #893638] Thu, 05 July 2012 04:08 Go to next message
Apirom Na Nakorn is currently offline Apirom Na NakornFriend
Messages: 14
Registered: July 2012
Junior Member
Hi,

I try to commit data(65535 elements for each client and the size of each element is 1KB) from 4 clients simultaneously to 4 resource path under the same repository in CDO Server (4.1), but I get IOTimeoutException so I set the new timout in session.options().getNet4jProtocol().setTimeout() to ISignalProtocol.NO_TIMEOUT and run again. This time I get an exception as follow :

Caused by: org.eclipse.emf.cdo.util.CommitException: Rollback in DBStore: java.lang.OutOfMemoryError: GC overhead limit exceeded
at java.lang.StringCoding$StringDecoder.decode(Unknown Source)
at java.lang.StringCoding.decode(Unknown Source)
at java.lang.String.<init>(Unknown Source)
at java.lang.String.<init>(Unknown Source)
at com.mysql.jdbc.PreparedStatement.asSql(PreparedStatement.java:754)
at com.mysql.jdbc.PreparedStatement.asSql(PreparedStatement.java:707)
at com.mysql.jdbc.PreparedStatement.toString(PreparedStatement.java:4718)
at org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.ObjectTypeTable.putObjectType(ObjectTypeTable.java:116)
at org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.DelegatingObjectTypeMapper.putObjectType(DelegatingObjectTypeMapper.java:68)
at org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.AbstractHorizontalMappingStrategy.putObjectType(AbstractHorizontalMappingStrategy.java:81)
at org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.HorizontalBranchingClassMapping.writeRevision(HorizontalBranchingClassMapping.java:763)
at org.eclipse.emf.cdo.server.internal.db.DBStoreAccessor.writeRevision(DBStoreAccessor.java:583)
at org.eclipse.emf.cdo.server.internal.db.DBStoreAccessor.writeRevisions(DBStoreAccessor.java:563)
at org.eclipse.emf.cdo.spi.server.StoreAccessor.doWrite(StoreAccessor.java:94)
at org.eclipse.emf.cdo.spi.server.StoreAccessorBase.write(StoreAccessorBase.java:149)

How to solve this problem ?

Thanks in advance

Neung

[Updated on: Thu, 05 July 2012 04:17]

Report message to a moderator

Re: [CDO] Encounter java.lang.OutOfMemoryError: GC overhead limit exceeded when commit from 4 client [message #893640 is a reply to message #893638] Thu, 05 July 2012 04:20 Go to previous message
Apirom Na Nakorn is currently offline Apirom Na NakornFriend
Messages: 14
Registered: July 2012
Junior Member
Sorry, I post this topic in the wrong forum.
I just create the new one in the EMF forum => http://www.eclipse.org/forums/index.php/t/366911/
Sorry.
Previous Topic:UML2 4.0 and ActivityNodes
Next Topic:Problem in "Install new Software"
Goto Forum:
  


Current Time: Sat Nov 22 16:48:19 GMT 2014

Powered by FUDForum. Page generated in 0.11126 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software