Search Results

Search: Posts Made By: lilili07
2,354
Posted By lilili07
How perl releases "my" variable?
I have a question regarding to the following code:

foreach my $Cnt ( @Cnts ) {
my $abc = xyx->new();
do sth...
aggregatedData->processData($abc);
}

my question is: whether perl...
9,294
Posted By lilili07
Hi, see this: "By default, perl will be...
Hi, see this:
"By default, perl will be compiled as> a 32-bit application. Unless you want to allocate more than ~ 4GB of> memory inside perl, or unless you need more than 255 open file d>...
5,252
Posted By lilili07
Where to find 64-bit based perl module like XML::Parser::Expat?
Q: Where to get a 64 bit Expat.so?

I run a perl script and got this error:
Can't load '/usr/perl5/vendor_perl/5.8.4/i86pc-solaris-64int/auto/XML/Parser/Expat/Expat.so' for module...
9,294
Posted By lilili07
What do you mean 64bit perl? can you give me more...
What do you mean 64bit perl? can you give me more details? what's wrong with the perl script? how to check how many bits is the perl based on?

The OS of the machine is solaries U8.
the perl of...
9,294
Posted By lilili07
Is this "Out of Memory!" error due to sort() of perl how to resolve it?
I am running a program written in perl script and it is stopped with "Out of memory!" error. This is very strange because at the time then the program is aborted, it only used 4GB RAM and there are...
4,667
Posted By lilili07
do not work, the file is still empty I...
do not work, the file is still empty


I found the reason maybe prstat -a does not terminate itseld. In fact if I run:
pmap -x <PID> |grep heap >>pmap.log, the result is stored to the file.
the...
4,667
Posted By lilili07
Questions about prstat and CPU utility
Question 1:
I want to store the result of prstat to a file.
If I write in this way: prstat -a >>prstat.log, the result of prstat is stored to the file prstat.log correctly;
but if I write it in...
10,576
Posted By lilili07
Out of Memory error when free memory size is large
I was running a program and it stopped and showed "Out of Memory!". at that time, the RAM used by this process is around 4G and the free memory size of the machine is around 30G. Does anybody know...
4,851
Posted By lilili07
how to change one line in a file?
Suppose I have a file. The content of the file is:
Fwf33
#enable_a STH.
fwqfw
egvega

What I want to do is: if "STH" = "YES", do not change it, otherwise, change it to "YES". e.g.

if ...
Showing results 1 to 9 of 9

 
All times are GMT -4. The time now is 01:00 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy