RE: Python does not take up available physical memory

Discussion in 'Python' started by Prasad, Ramit, Oct 19, 2012.

  1. Pradipto Banerjee wrote:

    > Thanks, I tried that. Still got MemoryError, but at least this time python tried to use the physical memory.
    > What I noticed is that before it gave me the error it used up to 1.5GB (of the 2.23 GB originally showed as
    > available) - so in general, python takes up more memory than the size of the file itself.



    Of course it will. Python has to keep its own code in memory and
    load the file. Not to mention that the file is converted from data
    into a Python object with its own overhead.

    Ramit Prasad


    This email is confidential and subject to important disclaimers and
    conditions including on offers for the purchase or sale of
    securities, accuracy and completeness of information, viruses,
    confidentiality, legal privilege, and legal entity disclaimers,
    available at http://www.jpmorgan.com/pages/disclosures/email.
    Prasad, Ramit, Oct 19, 2012
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Emile van Sebille
    Replies:
    0
    Views:
    223
    Emile van Sebille
    Oct 20, 2012
  2. Ian Kelly
    Replies:
    0
    Views:
    138
    Ian Kelly
    Oct 19, 2012
  3. Pradipto Banerjee
    Replies:
    1
    Views:
    124
    Steven D'Aprano
    Oct 19, 2012
  4. Pradipto Banerjee
    Replies:
    6
    Views:
    217
    Pradipto Banerjee
    Oct 21, 2012
  5. MRAB
    Replies:
    0
    Views:
    110
Loading...

Share This Page