Z
Zhiliang Hu
I wrote a perl program that retrieves data from MySQL database and do
some complex formating to export. In the program I used some scalar
variables to hold temporary intermediate data (~2MB).
While this program works fine on command line (takes more than 10
minutes). When I adept it as a CGI program, it works only when a small
data set is selected; When larger data set is selected, it fails
without error (return a blank page on web; no error to the Apache
server error log).
I wonder what could be the problem? I suspect the internal scalar
variable may exceed some sort of internal memory limit but I really
don't know -- therefore seem advice from experts on what should I look
into?
Thanks in advance!
Zhiliang
some complex formating to export. In the program I used some scalar
variables to hold temporary intermediate data (~2MB).
While this program works fine on command line (takes more than 10
minutes). When I adept it as a CGI program, it works only when a small
data set is selected; When larger data set is selected, it fails
without error (return a blank page on web; no error to the Apache
server error log).
I wonder what could be the problem? I suspect the internal scalar
variable may exceed some sort of internal memory limit but I really
don't know -- therefore seem advice from experts on what should I look
into?
Thanks in advance!
Zhiliang