I have a question regarding to the following code:
my question is: whether perl will release the memory assign to "my $abc" each time after
processData($abc) is being executed.
If not,will it release the memory after for loop completes?
If still not, how to release the memory explicitly? can I put undef($abc) after
aggregatedData->processData($abc) to free the memory?
I am investigating an memory exhausting issue and I want to free memory of a variable as soon as I finish using it.
Last edited by pludi; 07-16-2010 at 02:20 AM..
Reason: code tags, please...
no you cannot.
your problem is elsewhere, probably in your design.
perl is a very efficient language, I've done some massive stuff with no memory problems.
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
greetings,
not being much of a perl user i'm having an issue when trying to assign a value to a variable using the following:
$StatusRawString=`grep -F -e \'time...\' $Glstat | tail -n 1`;
when i execute the perl script i'm using the -w option to get some useful info on how the script is... (5 Replies)
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)