-
Notifications
You must be signed in to change notification settings - Fork 490
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
memory error on example 3-5 #12
Comments
I'm having this problem too. I'm just increasing my memory on the VM and hoping this will solve it. Unfortunately I'm now up to 3 GB of RAM and it still hasn't fixed it. Edited to add: 4 GB doesn't work either. Maybe it needs more virtual memory. I'm watching the System Monitor and it has about 50% RAM free when it crashes. |
Discopatrick - Are you also using Windows in you VM? Wondering if that is the common thread |
Actually the VM is Ubuntu 12.04. Running on VirtualBox 4.2.6. |
Sorry this is taking a while for me to help you with, but I am hoping that we can pin down the issue soon. Can you give me the other pertinent details of your situation so I can better reproduce this? Version of CouchDB and Python are two that come to mind. Version of the couchdb package is another one. |
Thanks for your help Russell. I've skipped ahead to other parts of the book, but if you'd still like the details, here they are: On starting python in the terminal I see: Python 2.7.3 (default, Aug 1 2012, 05:16:07) CouchDB: Apache CouchDB 1.0.1 Looking in the Ubuntu Software Center at python-couchdb I see: Any more info you need, just let me know. Almost all of my software was installed using the Ubuntu Software Center, I think there were one or two exceptions, one of which was Redis IIRC. |
I'm getting the same error on mountain lion: Localised error: Python details: Any ideas? Thanks |
Carving out some this this evening to try and work on this. In previous attempts, I haven't been able to reproduce it, and I think it may have been because I wasn't using the same version of CouchDB as was producing the problem under the faulty assumption that my older version would have probably exhibited the same issue. What version are you using? Also, what version of the couchdb package are you using? (What does couchdb.version return?) |
It's 1.21 Edit - sorry 0.8. On Monday, 11 February 2013 at 20:17, Matthew A. Russell wrote:
|
My attempts to reproduce this problem were not fruitful. We could try to further isolate the problem on your environment, but it might be just as easy to reach out to #couchdb on IRC or ask the mailing list for help since this appears that it could be a CouchDB specific issue involving a memory setting. |
it's not as cool, but you can get around the memory issue with: |
Oh great thanks for helping. D On Friday, 12 April 2013 at 15:31, laksdjhfads wrote:
|
@laksdjhfads and @Pragueham - Did this workaround do ok for you? If so, would either of you like to submit a pull request so I can credit you with the fix? |
Hi,
I would really appreciate your help on the following issues:
In example 3-6: After adding in Couch DB configuration path for couchpy( asbolute path "C:\Python27\Scripts\couchpy.exe" ) and restarting the service I executed the following code :
Also in example 3-5 I got the following error:
But this error atleast temporarily I was able to solve by trimming enron.mbox.json to 2000 objects instead of the full size which had 41000 json objects.
With Regards,
Amitabh
The text was updated successfully, but these errors were encountered: