ClamWin Free Antivirus Forum Index
ClamWin Free Antivirus
Support and Discussion Forums
Reply to topic
LibClamAV errror cli_reloc() can't re-allocate memory
msetzerii


Joined: 04 May 2007
Posts: 0
Location: GUAM USA
Reply with quote
LibClamAV errror cli_reloc() can't re-allocate memory to xxxxxxx bytes.
realloc problem Not enough space.

Just installed 95.1 on a 98 machine with 1G of Ram, and it seems to run ok for a while, then this message comes up over and over again. The xxxxxx number keeps changing.

The previous version ran with no such issue.
View user's profileSend private messageSend e-mail
sherpya


Joined: 22 Mar 2006
Posts: 0
Location: Italy
Reply with quote
while scanning?
View user's profileSend private message
sherpya


Joined: 22 Mar 2006
Posts: 0
Location: Italy
Reply with quote
could you please go to Tools -> Preferences -> Advanced

and add
-v

to Additional Clamscan Command Line Parameters
and try to reproduce it?

Then send the report

Thanks
View user's profileSend private message
msetzerii


Joined: 04 May 2007
Posts: 0
Location: GUAM USA
Reply with quote
I did some further testing. I had run it on another 98 machine, and didn't get the error. Then Ran it on two other partitions on the original machine, and those partitions ran with no errors. Went back to the original C: drive, and got the errors again. Then started doing subsets of the directories, and eventually found that the directory where the errors occurred where in my mail directory. and involved 3 of the 185 Mail folders I have. All the files are the mail folders with the extension of PMM (Pegasus Email). I'm not sure what is difference between these 3 files and the other 182 ones. These are not the biggest ones.

Tried the -v, and saw no difference in the messages. The just keep coming, but it does eventually finish when I am just scanning on a single file.


LibClamAV Error: cli_realloc(): Can't re-allocate memory to 5804144 bytes.
realloc_problem: Not enough space
LibClamAV Error: cli_realloc(): Can't re-allocate memory to 5804020 bytes.
realloc_problem: Not enough space
LibClamAV Error: cli_realloc(): Can't re-allocate memory to 5804064 bytes.
realloc_problem: Not enough space
LibClamAV Error: cli_realloc(): Can't re-allocate memory to 5804180 bytes.
realloc_problem: Not enough space
LibClamAV Error: cli_realloc(): Can't re-allocate memory to 5804148 bytes.
realloc_problem: Not enough space
LibClamAV Error: cli_realloc(): Can't re-allocate memory to 5804076 bytes.
realloc_problem: Not enough space
LibClamAV Error: cli_realloc(): Can't re-allocate memory to 5804144 bytes.
realloc_problem: Not enough space
LibClamAV Error: cli_realloc(): Can't re-allocate memory to 5804020 bytes.


The above messages show up, but are not in the log file at the end.

Here is the end of the scan.

Scanning c:\pmail\MAIL\COPY2000.PMM

----------- SCAN SUMMARY -----------
Known viruses: 539304
Engine version: 0.95.1
Scanned directories: 0
Scanned files: 1
Infected files: 0
Data scanned: 34.37 MB
Data read: 5.63 MB (ratio 6.10:1)
Time: 181.310 sec (3 m 1 s)

--------------------------------------
Completed
--------------------------------------

The actual file is just under 6MB, and has 2747 email messages.
The largest email folder is over 95MB, and has not problem. Other folders have twice as many messages, so not sure what it could be.
View user's profileSend private messageSend e-mail
sherpya


Joined: 22 Mar 2006
Posts: 0
Location: Italy
Reply with quote
it's not exactly the same result, now we known that the problem is in the email module, unfortunately I think you cannot provide the file, but at least we have a starting point Smile
View user's profileSend private message
Another interesting thing.
msetzerii


Joined: 04 May 2007
Posts: 0
Location: GUAM USA
Reply with quote
I was trying to see if it was a specific message that was causing the problem. I moved half of the messages to another folder and then scanned both, and neither had the error. Then moved the messages back, and the error came up again??
View user's profileSend private messageSend e-mail
LibClamAV errror cli_reloc() can't re-allocate memory
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic