Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^4: I ran out of memory

by ido50 (Scribe)
on Aug 26, 2004 at 17:15 UTC ( [id://386091]=note: print w/replies, xml ) Need Help??


in reply to Re^3: I ran out of memory
in thread I ran out of memory

Yeah I guess, but wouldn't you say it's somewhat a problem with my code. Maybe I should try to reduce the amount of operations the program does. For example, the program generates HTML pages 'on-the-fly', which basically means slurping the data from the database, wrapping it up in nice HTML code and printing it. Maybe have the program create an html file and just let users view the file directly instead of making them access the program itself?


-------------------------
Live fat, die young

Replies are listed 'Best First'.
Re^5: I ran out of memory
by MidLifeXis (Monsignor) on Aug 27, 2004 at 17:19 UTC

    Or, you could, if possible, generate the page as you are reading the data, and not have to store more than a little bit of the data in memory at a time.

    --MidLifeXis

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://386091]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2024-03-29 10:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found