|
content.length() = 524598
Exception in thread "main" 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)
|