I didn't understand very well what means "OP", but anyway... the tip is a bit off-topic since it's not related to the memory issue. But is a tip anyway.
Doing things like the code below:
my @t;
T: while( my $line = <GSE> ) {
$line =~ s/[\r\n]//g;
@t = split(/\t/, $ligne);
if( $. == 1 ) {
shift(@t);
@samples = @t;
next T;
}
@t = ();
Should avoid memory allocation everytime the variable is created/removed. If this really does not work like that, please let me know.
Alceu Rodrigues de Freitas Junior
---------------------------------
"You have enemies? Good. That means you've stood up for something, sometime in your life." - Sir Winston Churchill
|