Skip to content

Can't allocate memory (64775680 bytes) error #11

@ulyszk

Description

@ulyszk

Adding new clamav databases clusing this error when I testing ClamWin's bundled clamscan:

Loading virus signature database, please wait... done
calloc_problem: No error
LibClamAV Error: cli_calloc(): Can't allocate memory (64775680 bytes).
LibClamAV Error: cli_ac_init: Can't allocate memory for data->lsigsuboff_(last|first)[0]
C:\Program Files\ClamWin\bin\clamscan.exe: Can't allocate memory ERROR
calloc_problem: No error
LibClamAV Error: cli_calloc(): Can't allocate memory (64775680 bytes).
LibClamAV Error: cli_ac_init: Can't allocate memory for data->lsigsuboff_(last|first)[0]
C:\Program Files\ClamWin\bin\ClamTray.exe: Can't allocate memory ERROR
C:\Program Files\ClamWin\bin\ClamWin.conf: OK
calloc_problem: No error
LibClamAV Error: cli_calloc(): Can't allocate memory (64775680 bytes).
calloc_problem: No error
LibClamAV Error: cli_calloc(): Can't allocate memory (64775680 bytes).
LibClamAV Error: cli_ac_init: Can't allocate memory for data->lsigsuboff_(last|first)[0]
C:\Program Files\ClamWin\bin\ClamWin.exe: Can't allocate memory ERROR
calloc_problem: No error
LibClamAV Error: cli_calloc(): Can't allocate memory (64775680 bytes).
calloc_problem: No error
LibClamAV Error: cli_calloc(): Can't allocate memory (64775680 bytes).
LibClamAV Error: cli_ac_init: Can't allocate memory for data->lsigsuboff_(last|first)[0]
C:\Program Files\ClamWin\bin\ExpShell.dll: Can't allocate memory ERROR
C:\Program Files\ClamWin\bin\freshclam.conf: OK

Is this build in limitation for memory allocation? As far as I checked the configuration file, I didn't find such configuration.

I used this command:
C:\Program Files\ClamWin\bin>clamscan.exe -d "C:\Documents and Settings\All Users.clamwin\db"

clamscan.exe --version
ClamAV 0.103.2

freshclam --version
ClamAV 0.103.2/26722/Wed Nov 16 09:56:53 2022

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions