Monday, February 15, 2010

comp.lang.python - 4 new messages in 2 topics - digest

comp.lang.python
http://groups.google.com/group/comp.lang.python?hl=en

comp.lang.python@googlegroups.com

Today's topics:

* MemoryError, can I use more? - 3 messages, 3 authors
http://groups.google.com/group/comp.lang.python/t/0944e954b29aa311?hl=en
* come and join www.pakdub.com a social network with full features like games,
classifieds, forums, blogs and a lot more - 1 messages, 1 author
http://groups.google.com/group/comp.lang.python/t/df20d96ac6449045?hl=en

==============================================================================
TOPIC: MemoryError, can I use more?
http://groups.google.com/group/comp.lang.python/t/0944e954b29aa311?hl=en
==============================================================================

== 1 of 3 ==
Date: Sun, Feb 14 2010 7:16 pm
From: Dave Angel


Echavarria Gregory, Maria Angelica wrote:
> Dear Chris,
>
> One of the machines I tested my app in is 64 bit and happened the same. The RAM consumed by the OS and other processes is already included in the 2.2 I'm telling... my app enters to work when the RAM is already consumed in ~600 MB in the 3- 32 bit machines ... in the 64 bit machine was exactly the same only that it started a little bit higher because it has windows 7... so should I understand that there is nothing I can do for my app to use up more RAM?
>
> Thanks for your time and answer,
> Angelica.
>
>
> M. Angelica Echavarria-Gregory, M.Sc., E.I.
> Ph.D Candidate
> University of Miami
> Phone 305 284-3611
>
> ________________________________
> From: Chris Kaynor [ckaynor@zindagigames.com]
> Sent: Friday, February 12, 2010 7:44 PM
> To: Echavarria Gregory, Maria Angelica
> Cc: python-list@python.org
> Subject: Re: MemoryError, can I use more?
>
> A 32 bit app can only use 4 GB of memory itself (regardless of the amount of system ram), the OS claims some of this for the system, dlls occupy some of it, etc. As such, the app can only really use a smaller subset (generally between 2 to 3 GB, depending upon the app and the OS).
>
> Chris
>
>
> On Fri, Feb 12, 2010 at 4:21 PM, Echavarria Gregory, Maria Angelica <m.echavarriagregory@umiami.edu<mailto:m.echavarriagregory@umiami.edu>> wrote:
> Dear group:
>
> I am developing a program using Python 2.5.4 in windows 32 OS. The amount of data it works with is huge. I have managed to keep memory footprint low, but have found that, independent of the physical RAM of the machine, python always gives the MemoryError message when it has occupied exactly only 2.2 GB. I have tested this in 4 different machines, all with memory of 3 to 4 GB... I'm amazed.
>
> Could any of you please help me to figure out how to change that limit? I typed help(MemoryError) and it is a class itself, but that help told me nothing I can use...
>
> Thanks,
> Angelica.
> --
> http://mail.python.org/mailman/listinfo/python-list
>
>
>
There are three different limits at play here. Since you're still not
saying how you're "measuring" usage, we've all been guessing just which
one you're hitting. There's physical RAM, virtual address space, and
swappable space (swapfile on disk). Each reaches some limit in
different ways.

And there are probably a dozen different ways to measure "memory use,"
that get a dozen different answers. If you say which one you're using,
that gives "exactly 2.2 GB," maybe someone will be familiar with that
particular approach, and its meaning.

DaveA

== 2 of 3 ==
Date: Sun, Feb 14 2010 7:39 pm
From: Tommy Grav

On Feb 14, 2010, at 10:16 PM, Dave Angel wrote:

> There are three different limits at play here. Since you're still not saying how you're "measuring" usage, we've all been guessing just which one you're hitting. There's physical RAM, virtual address space, and swappable space (swapfile on disk). Each reaches some limit in different ways.
>
> And there are probably a dozen different ways to measure "memory use," that get a dozen different answers. If you say which one you're using, that gives "exactly 2.2 GB," maybe someone will be familiar with that particular approach, and its meaning.

I ran into the same problem on Mac OS X and investigated it. My problem was that the program reached a memory error
after using 2.2GB of memory. Now what caused it specifically I am less sure of, but switching to a 64bit python on
a 64bit OS (snow leopard) means that I now frequently move past this boundary (when I have enough memory of course :)

Tommy


== 3 of 3 ==
Date: Sun, Feb 14 2010 9:24 pm
From: Dennis Lee Bieber


On Sun, 14 Feb 2010 19:19:07 -0500, "Echavarria Gregory, Maria Angelica"
<m.echavarriagregory@umiami.edu> declaimed the following in
gmane.comp.python.general:

>
> I use the physical and kernel memory boxes in the windows task manager under the performance tab... in that way I can see the exact RAM that just OS and idle processes occupy before I run my app, and then also the limit at which my app pushes the memory...
>
And what does the commit charge indicate at time of failure?

Commit charge "limit" is the sum of physical and swap file space.

At the current "moment" (barring changes as I type) my system is
showing:

Physical
2095196
15693xx
11707xx

Commit
435360
3509240
1047472 (I've just finished a session with Sony Vegas 8 capturing a few
hours of HDV video; normally my system doesn't go over ~500MB unless I'm
doing video or photo editing)

Kernel
79500
53104
26396
--
Wulfraed Dennis Lee Bieber KD6MOG
wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/


==============================================================================
TOPIC: come and join www.pakdub.com a social network with full features like
games, classifieds, forums, blogs and a lot more
http://groups.google.com/group/comp.lang.python/t/df20d96ac6449045?hl=en
==============================================================================

== 1 of 1 ==
Date: Sun, Feb 14 2010 10:18 pm
From: babu lohar


come and join www.pakdub.com a social network with full features like
games, classifieds, forums, blogs and a lot more


==============================================================================

You received this message because you are subscribed to the Google Groups "comp.lang.python"
group.

To post to this group, visit http://groups.google.com/group/comp.lang.python?hl=en

To unsubscribe from this group, send email to comp.lang.python+unsubscribe@googlegroups.com

To change the way you get mail from this group, visit:
http://groups.google.com/group/comp.lang.python/subscribe?hl=en

To report abuse, send email explaining the problem to abuse@googlegroups.com

==============================================================================
Google Groups: http://groups.google.com/?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate