[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

memory usage under solaris

Mark Probert

10/8/2003 6:26:00 PM


I had an interesting experience today.
A user reported high memory usage of one of my
Ruby scripts (it is threaded, running about 60 threads
each with a telnet session).

top showed that the script was sucking 831M!

Is this usual?


--
-mark.

1 Answer

Ben Giddings

10/8/2003 6:58:00 PM

0

Mark Probert wrote:
> I had an interesting experience today.
> A user reported high memory usage of one of my
> Ruby scripts (it is threaded, running about 60 threads
> each with a telnet session).
>
> top showed that the script was sucking 831M!
>
> Is this usual?

Um, it kinda depends on your program.

Even if the script is super simple-looking, it might be doing something
like sucking a huge file into RAM. Unless you show us your script this
question is impossible to answer.

Ben