java.lang.IllegalArgumentException

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

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web12783

  • tried to save too large of an object. max size : 2098176
  • via Google Groups by mrkschan, 1 year ago
    tried to save too large of an object. max size : 2098176
  • Stack trace

    • java.lang.IllegalArgumentException: tried to save too large of an object. max size : 2098176 at com.mongodb.ByteEncoder.putObject(ByteEncoder.java:175) at com.mongodb.DBApiLayer$MyCollection.insert(DBApiLayer.java:204) at com.mongodb.DBApiLayer$MyCollection.insert(DBApiLayer.java:163) at com.mongodb.DBApiLayer$MyCollection.insert(DBApiLayer.java:158) at org.riverock.proxy.ReadFileContent.main(ReadFileContent.java:50) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.