Skip to content

Memory exhausted when elaborating Verilog netlist #1379

@Blebowski

Description

@Blebowski

This is follow-up of trying to elaborate Verilog netlist from #1333.

When I set the -H parameters and -M parameters to 2048m, the NVC tries to elaborate the
netlist for some time until it exhausts all the memory.

I tried on 20 GB virtual machine and 64 GB notebook with Intel 12900H, the result is the same.
I ran it through Valgrind (I aborted the execution after some time), see the log attached:

macandd_log.txt

Also, I was surprised to see that the -M option has no effect here. Looking through the codebase
I see that using xcalloc, xmalloc, etc. has nothing to do with this, the -M is used to track only
the arena allocator to represent the object_t data structures.

IMHO it would be more user friendly if the meaning of the -M option was:
"Maximal memory single NVC process can consume",
and be bumped to sth. like 2GB by default.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions