java.lang.OutOfMemoryError: Java heap space

Terracotta Project Issue Tracker | Taylor Gautier | 9 years ago
  1. 0

    trying to load a map and getting an oome in the client. then I get this: ********************************** ERROR *********************************** * Terracotta client shutting down due to error java.lang.OutOfMemoryError: * Java heap space **************************************************************************** java.lang.OutOfMemoryError: Java heap space at java.lang.StringCoding$CharsetSE.encode(StringCoding.java:334) at java.lang.StringCoding.encode(StringCoding.java:378) at java.lang.String.getBytes(String.java:812) at com.tc.object.compression.StringCompressionUtil.stringToUncompressedBin(StringCompressionUtil.java:44) at com.tc.object.dna.impl.BaseDNAEncodingImpl.writeCompressedString(BaseDNAEncodingImpl.java:334) at com.tc.object.dna.impl.BaseDNAEncodingImpl.encode(BaseDNAEncodingImpl.java:231) at com.tc.object.dna.impl.DNAWriterImpl.addLogicalAction(DNAWriterImpl.java:103) at com.tc.object.change.event.LogicalChangeEvent.write(LogicalChangeEvent.java:22) at com.tc.object.change.TCChangeBufferImpl.writeEventsToDNA(TCChangeBufferImpl.java:108) at com.tc.object.change.TCChangeBufferImpl.writeTo(TCChangeBufferImpl.java:92) at com.tc.object.tx.TransactionBatchWriter$TransactionBuffer.writeChanges(TransactionBatchWriter.java:491) at com.tc.object.tx.TransactionBatchWriter$TransactionBuffer.writeFirst(TransactionBatchWriter.java:555) at com.tc.object.tx.TransactionBatchWriter$TransactionBuffer.write(TransactionBatchWriter.java:449) at com.tc.object.tx.TransactionBatchWriter.addTransaction(TransactionBatchWriter.java:284) at com.tc.object.tx.TransactionSequencer.addTransactionToBatch(TransactionSequencer.java:80) at com.tc.object.tx.TransactionSequencer.addTxnInternal(TransactionSequencer.java:110) at com.tc.object.tx.TransactionSequencer.addTransaction(TransactionSequencer.java:89) at com.tc.object.tx.RemoteTransactionManagerImpl.commit(RemoteTransactionManagerImpl.java:226) at com.tc.object.tx.ClientTransactionManagerImpl.commitInternal(ClientTransactionManagerImpl.java:451) at com.tc.object.tx.ClientTransactionManagerImpl.commit(ClientTransactionManagerImpl.java:416) at com.tc.object.tx.ClientTransactionManagerImpl.commit(ClientTransactionManagerImpl.java:355) at com.tc.object.bytecode.ManagerImpl.monitorExit(ManagerImpl.java:526) at com.tc.object.bytecode.ManagerUtil.monitorExit(ManagerUtil.java:501) at Main.load(Main.java:46) at Main.run(Main.java:71) at Main.main(Main.java:79) regular java quits with an oome. dso-java pauses and does not exit the vm

    Terracotta Project Issue Tracker | 9 years ago | Taylor Gautier
    java.lang.OutOfMemoryError: Java heap space
  2. 0

    trying to load a map and getting an oome in the client. then I get this: ********************************** ERROR *********************************** * Terracotta client shutting down due to error java.lang.OutOfMemoryError: * Java heap space **************************************************************************** java.lang.OutOfMemoryError: Java heap space at java.lang.StringCoding$CharsetSE.encode(StringCoding.java:334) at java.lang.StringCoding.encode(StringCoding.java:378) at java.lang.String.getBytes(String.java:812) at com.tc.object.compression.StringCompressionUtil.stringToUncompressedBin(StringCompressionUtil.java:44) at com.tc.object.dna.impl.BaseDNAEncodingImpl.writeCompressedString(BaseDNAEncodingImpl.java:334) at com.tc.object.dna.impl.BaseDNAEncodingImpl.encode(BaseDNAEncodingImpl.java:231) at com.tc.object.dna.impl.DNAWriterImpl.addLogicalAction(DNAWriterImpl.java:103) at com.tc.object.change.event.LogicalChangeEvent.write(LogicalChangeEvent.java:22) at com.tc.object.change.TCChangeBufferImpl.writeEventsToDNA(TCChangeBufferImpl.java:108) at com.tc.object.change.TCChangeBufferImpl.writeTo(TCChangeBufferImpl.java:92) at com.tc.object.tx.TransactionBatchWriter$TransactionBuffer.writeChanges(TransactionBatchWriter.java:491) at com.tc.object.tx.TransactionBatchWriter$TransactionBuffer.writeFirst(TransactionBatchWriter.java:555) at com.tc.object.tx.TransactionBatchWriter$TransactionBuffer.write(TransactionBatchWriter.java:449) at com.tc.object.tx.TransactionBatchWriter.addTransaction(TransactionBatchWriter.java:284) at com.tc.object.tx.TransactionSequencer.addTransactionToBatch(TransactionSequencer.java:80) at com.tc.object.tx.TransactionSequencer.addTxnInternal(TransactionSequencer.java:110) at com.tc.object.tx.TransactionSequencer.addTransaction(TransactionSequencer.java:89) at com.tc.object.tx.RemoteTransactionManagerImpl.commit(RemoteTransactionManagerImpl.java:226) at com.tc.object.tx.ClientTransactionManagerImpl.commitInternal(ClientTransactionManagerImpl.java:451) at com.tc.object.tx.ClientTransactionManagerImpl.commit(ClientTransactionManagerImpl.java:416) at com.tc.object.tx.ClientTransactionManagerImpl.commit(ClientTransactionManagerImpl.java:355) at com.tc.object.bytecode.ManagerImpl.monitorExit(ManagerImpl.java:526) at com.tc.object.bytecode.ManagerUtil.monitorExit(ManagerUtil.java:501) at Main.load(Main.java:46) at Main.run(Main.java:71) at Main.main(Main.java:79) regular java quits with an oome. dso-java pauses and does not exit the vm

    Terracotta Project Issue Tracker | 9 years ago | Taylor Gautier
    java.lang.OutOfMemoryError: Java heap space
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    More AES Iterations leads to OutOfMemory Java Heap Space

    Stack Overflow | 3 years ago | JavaTechnical
    java.lang.OutOfMemoryError: Java heap space
  5. 0

    Updated: Problems about two memcached java clients: spy and gwhalin

    Google Groups | 6 years ago | Shi
    java.lang.OutOfMemoryError: Java heap space

  1. tyson925 1 times, last 7 months ago
2 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.OutOfMemoryError

    Java heap space

    at java.lang.StringCoding$CharsetSE.encode()
  2. Java RT
    String.getBytes
    1. java.lang.StringCoding$CharsetSE.encode(StringCoding.java:334)
    2. java.lang.StringCoding.encode(StringCoding.java:378)
    3. java.lang.String.getBytes(String.java:812)
    3 frames
  3. com.tc.object
    ManagerUtil.monitorExit
    1. com.tc.object.compression.StringCompressionUtil.stringToUncompressedBin(StringCompressionUtil.java:44)
    2. com.tc.object.dna.impl.BaseDNAEncodingImpl.writeCompressedString(BaseDNAEncodingImpl.java:334)
    3. com.tc.object.dna.impl.BaseDNAEncodingImpl.encode(BaseDNAEncodingImpl.java:231)
    4. com.tc.object.dna.impl.DNAWriterImpl.addLogicalAction(DNAWriterImpl.java:103)
    5. com.tc.object.change.event.LogicalChangeEvent.write(LogicalChangeEvent.java:22)
    6. com.tc.object.change.TCChangeBufferImpl.writeEventsToDNA(TCChangeBufferImpl.java:108)
    7. com.tc.object.change.TCChangeBufferImpl.writeTo(TCChangeBufferImpl.java:92)
    8. com.tc.object.tx.TransactionBatchWriter$TransactionBuffer.writeChanges(TransactionBatchWriter.java:491)
    9. com.tc.object.tx.TransactionBatchWriter$TransactionBuffer.writeFirst(TransactionBatchWriter.java:555)
    10. com.tc.object.tx.TransactionBatchWriter$TransactionBuffer.write(TransactionBatchWriter.java:449)
    11. com.tc.object.tx.TransactionBatchWriter.addTransaction(TransactionBatchWriter.java:284)
    12. com.tc.object.tx.TransactionSequencer.addTransactionToBatch(TransactionSequencer.java:80)
    13. com.tc.object.tx.TransactionSequencer.addTxnInternal(TransactionSequencer.java:110)
    14. com.tc.object.tx.TransactionSequencer.addTransaction(TransactionSequencer.java:89)
    15. com.tc.object.tx.RemoteTransactionManagerImpl.commit(RemoteTransactionManagerImpl.java:226)
    16. com.tc.object.tx.ClientTransactionManagerImpl.commitInternal(ClientTransactionManagerImpl.java:451)
    17. com.tc.object.tx.ClientTransactionManagerImpl.commit(ClientTransactionManagerImpl.java:416)
    18. com.tc.object.tx.ClientTransactionManagerImpl.commit(ClientTransactionManagerImpl.java:355)
    19. com.tc.object.bytecode.ManagerImpl.monitorExit(ManagerImpl.java:526)
    20. com.tc.object.bytecode.ManagerUtil.monitorExit(ManagerUtil.java:501)
    20 frames
  4. Unknown
    Main.main
    1. Main.load(Main.java:46)
    2. Main.run(Main.java:71)
    3. Main.main(Main.java:79)
    3 frames