Hi Will,
How many keys will your hashes contain?
The main memory wastage with hashes isn't due to the size of what you
keep in them but the number of keys.
If you are using integers as keys, why not just use an array?
Bare in mind that the 'hashspace' is shared between your hashes, so if
you ha
Michael Peters wrote:
Any links or discussion would be great.
You really need to benchmark it for yourself using the version you are
targetting and the OS. You can do it outside of apache and just have a simple
Perl script that does nothing but sleep after it's created the large data
struc
Will Fould wrote:
> Hi. I'm trying to estimate (forecast) perl memory requirements for
> storing simple lists (hashes) in memory.
>
> If my lists use integers as keys and all values are either integers or
> simple scalar strings (of maximum size each), can the total memory size
> be estimated by
> My main problem is: Memory Usage.
> Currently, the apache processes take (each) about 150 MB memory,
> what's quite a lot. Now, i've been wondering which module and why it
> takes that much memory at all.
Check out this thread:
http://aspn.activestate.com/ASPN/Mail/Message/modperl/3173671
On Mar 30, 2007, at 8:00 AM, Georg Grabler wrote:
Hello list,
I'm developing a quite large project, using SOAP::Lite and some more
modules using mod_perl.
My main problem is: Memory Usage.
If you search the archives using my name, you'll fine a ton of stuff
about me complaining and going
Currently, the apache processes take (each) about 150 MB memory,
what's quite a lot. Now, i've been wondering which module and why it
takes that much memory at all.
Georg,
How do you determine how much memory each Apache process is taking? If
you're on Linux, it's tricky to correctly determine
While I dont know if this would help, but faced with a similar
situation, I might try something on the following lines:
1. write a small script that uses SOAP:Lite (may be copy hibye.cgi
from http://guide.soaplite.com/)
2. setup htttpd.conf to use Apache::Status
3. Run apache in single-process mod
On Friday 30 March 2007 14:00, Georg Grabler wrote:
> Initially, the apache processes take 42 MB each (i think this should
> be mostly shared memory and a lot of preloaded projects, as usual on
> a developer machine). If i connect using SOAP, the process jumps up
> to 140-150MB, and i just can't th
On Sep 1, 2006, at 11:15 AM, Daniel B. Hemmerich wrote:
We are concerned about how much memory we are using now that we are
moving to modperl.
Are there any good tools/procedures that we could use to determine
how much memory our application is currently using – and then using
that as a
I suggest taking a look at the excellent mod_perl performance guide:
http://perl.apache.org/docs/1.0/guide/performance.html
-- Tobias
Zitat von "Daniel B. Hemmerich" <[EMAIL PROTECTED]>:
> We are concerned about how much memory we are using now that we are moving
> to modperl.
>
>
>
> Are ther
I did some tests, some interesting results
my processes no longer seem to be 300mb. which is good. however,
when that happened, i was seeing a 300mb process and then 6mb in a
child. now i'm back to seemingly unshared memory.
based on my tests below, i *think* that it may have been becaus
[ Please check your mail setup. This message was posted three times. ]
On Mon, 2004-05-10 at 01:45, Scott Ãlexänder wrote:
> On my test server running Red Hat Linux 7.1 Linux version 2.4.2-2
>
> shared memory is 18.71 MB
>
>
> On my production server Red Hat Linux 7.3 Linux version 2.4.20-20
12 matches
Mail list logo