[SERVER-9949] Shell exits with "out of memory" when command returns large array of documents Created: 17/Jun/13 Updated: 10/Dec/14 Resolved: 17/Jun/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Shell |
| Affects Version/s: | 2.4.1 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Erik Pragt | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Mac OS |
||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Operating System: | OS X | ||||||||
| Steps To Reproduce: | Load the data, do some searches. Search criteria is not relevant, it will just crash after a couple of searches. |
||||||||
| Participants: | |||||||||
| Description |
|
I have a small database (see attachment) with some large texts in it. There are only 10 entries in the collection of (gutenberg) books, but whenever I run a query like this: db.books.runCommand ( "text", {search: "hello" }) I get the following stacktrace:
This doesn't happen always, but after searching for 4-5 times, the console crashes. |
| Comments |
| Comment by J Rassi [ 17/Jun/13 ] |
|
Closing as likely dup of |
| Comment by Erik Pragt [ 17/Jun/13 ] |
|
I've updated to 2.4.4, and the bug seems to be not reproducible anymore. Can be closed. |