Groups | Search | Server Info | Login | Register
Groups > comp.lang.c.moderated > #525
| From | Vijay Kanta <viju.kantah@gmail.com> |
|---|---|
| Newsgroups | comp.lang.c.moderated |
| Subject | CGI program ate up memory upto 40% help! |
| Date | 2014-04-01 01:49 -0500 |
| Organization | Usenet Fact Police |
| Message-ID | <clcm-20140401-0002@plethora.net> (permalink) |
I am writing a few CGI scripts in C to handle certain stuff, and saw the memory cache rocket up to 400 megabytes every time I execute one. I am saved by extra swap space however. Where am I doing wrong? I used lot of headers like dirent, stat, string, mysql, gd, and have closed/destroyed useless garbage at correct places of the script. Are there any other things I need to be aware of? I run Linux BTW and the server is Apache. -- comp.lang.c.moderated - moderation address: clcm@plethora.net -- you must have an appropriate newsgroups line in your header for your mail to be seen, or the newsgroup name in square brackets in the subject line. Sorry.
Back to comp.lang.c.moderated | Previous | Next | Find similar
CGI program ate up memory upto 40% help! Vijay Kanta <viju.kantah@gmail.com> - 2014-04-01 01:49 -0500
csiph-web