[JAVA-2910] java.lang.OutOfMemoryError on DBPort.findOne executing Created: 18/Jul/18 Updated: 11/Sep/19 Resolved: 18/Jul/18 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | None |
| Affects Version/s: | 2.12.3 |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Gennadii Kurbatov | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
Hi I have stacktrace in heap dump file
What is the reason for this error? How can I deal with it? |
| Comments |
| Comment by Jeffrey Yemin [ 18/Jul/18 ] |
|
Hi wertklop Just to let you know this project is for Java driver bugs or feature requests. The best place for questions regarding MongoDB usage or the Java driver specifics is the mongodb-user mailinglist or stackoverflow as you will reach a boarder audience there. If your business requires an answer from MongoDB within a time frame then we do offer production support. If you do follow up via one of the options above please post a link and I will follow the conversation there. But just to get you started: the driver itself does not use a significantly large amount of memory, so if your application is hitting an OutOfMemoryError then it's likely because the application is holding references to too many objects. The fact that the driver happens to be the one throwing the exception doesn't necessarily indicate any issue with the driver itself. Also, I noticed you're using a driver released four years ago, which is no longer supported. I suggest you upgrade to a more recent version. Regards, |