[JAVA-135] Tried to save too large of an object. max size: 2098176 Created: 22/Jul/10  Updated: 29/Oct/10  Resolved: 01/Sep/10

Status: Closed
Project: Java Driver
Component/s: None
Affects Version/s: 1.4
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Vitaly Peressada Assignee: Eliot Horowitz (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

linux x64, centOS 5.4



 Description   

I assume this is an issue with java driver... Saw earlier JIRA which supposedly fixed this in 1.2...
java.lang.IllegalArgumentException: tried to save too large of an object. max size : 2098176
at com.mongodb.ByteEncoder.getTooLargeException(ByteEncoder.java:154)
at com.mongodb.DBApiLayer$MyCollection.insert(DBApiLayer.java:182)
at com.mongodb.DBApiLayer$MyCollection.insert(DBApiLayer.java:132)
at com.mongodb.DBApiLayer$MyCollection.insert(DBApiLayer.java:127)



 Comments   
Comment by Eliot Horowitz (Inactive) [ 01/Sep/10 ]

This should be fixed in 2.x
If its not - please comment.

Comment by Eliot Horowitz (Inactive) [ 22/Jul/10 ]

Can you try 2.0?
Should be fixed

Generated at Thu Feb 08 08:51:35 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.