java.lang.IllegalArgumentException: tried to save too large of an object. max size : 2098176

JIRA | Serge Maslyukov | 7 years ago
  1. 0

    Java-Driver: Encountering JAVA-66

    Google Groups | 7 years ago | mrkschan
    java.lang.IllegalArgumentException: tried to save too large of an object. max size : 2098176
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    GPMONGODB-3: Exception when saving list of embedded objects

    GitHub | 6 years ago | graemerocher
    java.lang.IllegalArgumentException: can't serialize class emb.Address

    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.IllegalArgumentException

      tried to save too large of an object. max size : 2098176

      at com.mongodb.ByteEncoder.putObject()
    2. MongoDB Java Driver
      DBApiLayer$MyCollection.insert
      1. com.mongodb.ByteEncoder.putObject(ByteEncoder.java:175)
      2. com.mongodb.DBApiLayer$MyCollection.insert(DBApiLayer.java:204)
      3. com.mongodb.DBApiLayer$MyCollection.insert(DBApiLayer.java:163)
      4. com.mongodb.DBApiLayer$MyCollection.insert(DBApiLayer.java:158)
      4 frames
    3. org.riverock.proxy
      ReadFileContent.main
      1. org.riverock.proxy.ReadFileContent.main(ReadFileContent.java:50)
      1 frame
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    5. IDEA
      AppMain.main
      1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)
      1 frame