[logo] 
 
Home
News
Activity
About/Contact
Major Tools
  Dinotrace
  Verilator
  Verilog-mode
  Verilog-Perl
Other Tools
  BugVise
  CovVise
  Force-Gate-Sim
  Gspice
  IPC::Locker
  Rsvn
  SVN::S4
  SystemPerl
  Voneline
  WFH
General Info
  Papers

Issue #504

Vrename aborts when parsing a large netlist

Added by Evgeni Stavinov about 1 year ago. Updated 10 months ago.

Status:NoFixNeeded Start date:05/02/2012
Priority:Normal Due date:
Assignee:Evgeni Stavinov % Done:

0%

Category:-
Target version:-

Description

I've a 520MByte Verilog netlist that I'm trying to load using "Vrename --list --xref netlist.v" command.

My system has 11GByte of available memory. After a few minutes of working, memory usage of Vrename climbs to 1.3GByte, then it dies with the following message:

"Out of memory during "large" request for 1052672 bytes, total sbrk() is 136468480 bytes at vrename line 157.
Aborted"

I'm running Vrename from Cygwin on Win7.

Any suggestions on what to try to get it to work.

Thanks

History

Updated by Wilson Snyder about 1 year ago

  • Status changed from New to AskedReporter

Looks like ~2GB is a Cygwin limitation. A google search suggested http://cygwin.com/cygwin-ug-net/setup-maxmem.html

If your needs are straight forward you might instead want to just write a script to do your transformations on a line-by-line basis. vrename does all replaces in memory which while fast and allowing detection of changes before writing, does require having more memory than a few times the file size. It certainly could be changed to optionally operate on some block size (say 16MB or so) I'll certainly take the function back if you want to make the changes.

Updated by Wilson Snyder 10 months ago

  • Status changed from AskedReporter to NoFixNeeded

Assuming resolved.

Also available in: Atom