![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to find Total and Free Physical Memory and Logical Memory in SOLARIS 9 | 0ktalmagik | SUN Solaris | 4 | 02-03-2009 09:37 AM |
| Perl - FileHandles that crash memory | nj78 | Shell Programming and Scripting | 5 | 02-20-2008 02:39 PM |
| perl memory leak detector | matrixmadhan | UNIX for Dummies Questions & Answers | 4 | 12-20-2006 02:39 PM |
| Shared memory shortage but lots of unused memory | cjcamaro | UNIX for Advanced & Expert Users | 1 | 10-13-2004 05:10 PM |
| Weakness in Perl CGI causes memory dump ?? | andyj | UNIX for Advanced & Expert Users | 0 | 08-25-2003 01:09 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Out of memory in PERL
I dont know whether this is a common error but it seems my PERL program is running out of buffer memory. Inside a loop I am processing an array (reading elements and displaying in it--note: for every iteration of the loop the WHOLE array is being scanned once--...the array was created by reading a file in it). I notice that as the number of repitions of the loop increases some characters are progressively clipped off off the end of the array element (I am storing strings). So, when the loop runs the first time, I get the elements I stored in the array, but by the time its in the last iteration, the elements are noticeably clipped from the end. In fact if read the output properly, I find that the clipping is increasing progressively with each iteration, which is ridiculous!
Can someone explain what happened here? |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|