java.lang.IllegalArgumentException: db message size is too big (5412974) max is (5242880)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

java.lang.IllegalArgumentException: db message size is too big (5412974) max is (5242880)
at com.mongodb.DBPort.go(DBPort.java:101)
at com.mongodb.DBPort.call(DBPort.java:59)
at com.mongodb.DBTCP._call(DBTCP.java:154)
at com.mongodb.DBTCP.call(DBTCP.java:144)
at com.mongodb.DBMessageLayer.doGetMore(DBMessageLayer.java:55)
at com.mongodb.DBApiLayer$Result._advance(DBApiLayer.java:600)
at com.mongodb.DBApiLayer$Result.hasNext(DBApiLayer.java:580)
at com.mongodb.DBCursor._hasNext(DBCursor.java:372)
at com.mongodb.DBCursor.hasNext(DBCursor.java:392)
at lindex.misc.CleanNlp.updatePages(CleanNlp.java:47)
at lindex.misc.CleanNlp.main(CleanNlp.java:33)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.