• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC SKILL
  3. How to handile "low memory warnings" in skill

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 143
  • Views 3290
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to handile "low memory warnings" in skill

KKANDOTH
KKANDOTH over 12 years ago

Hi All,

 I have a skill program which is operating on a layout database.Its working fine almost all the time. But sometime the task is running out of memory and get exit. Can I know how to get this low memory information before it end the skill program by its own. Such that I can do some undo(not exactly in layout) operations before it end the program...

 Thank You,

Krishnan

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 12 years ago

    You might be able to use memoryAllocated() - but not sure how useful that would be. That wouldn't tell you if you have memory allocated but garbage collection hasn't kicked in (although generally SKILL garbage collection would be attempted before it tries to allocate more memory so that it can reuse existing memory).

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 12 years ago

    Also you might want to make sure you're running in 64 bit mode (in IC5141 only the "layout" executable is available in 64 bit mode; from IC614 onwards, the whole of virtuoso is available in 64 bit mode). So do "layout -64" or "virtuoso -64" (or set CDS_AUTO_64BIT; more in the documentation).

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • KKANDOTH
    KKANDOTH over 12 years ago

    Hi Andrew,

    Thanks for your reply....

    But I can not always run icfb on 64 bit. Because there are some design(average in size) can come clean in 32bit mode....  below are the warning messages because of less memory.... Is there anyway i can read this warnign from my skill program

     \# Low Memory: Less than 183 megabytes of memory remain available to this program (4% of a maximum of 3769 megabytes).
    \# Low Memory: No further low memory warnings will be output.
    \w *WARNING* (DB-270000): dbReplaceProp: A memory allocation for 134217728 bytes failed.
    \w  The process heap is 1009MB, and OpenAccess is using 2715MB.
    \w  The available system memory is 106416MB, and physical system memory is 193424MB.

     Thank You,

    Krishnan

     
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 12 years ago

    Hi Krishnan,

    Other than parsing the log file, I think you'd need to contact customer support to ask for a SKILL API to access this information.

    Regards,

    Andrew.

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information