Home > Community > Forums > Custom IC SKILL > How to handile "low memory warnings" in skill

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 How to handile "low memory warnings" in skill  

Last post Wed, Jan 9 2013 1:20 AM by Andrew Beckett. 4 replies.
Started by KKANDOTH 08 Jan 2013 09:01 PM. Topic has 4 replies and 1024 views
Page 1 of 1 (5 items)
Sort Posts:
  • Tue, Jan 8 2013 9:01 PM

    • KKANDOTH
    • Not Ranked
    • Joined on Thu, May 5 2011
    • Posts 12
    • Points 210
    How to handile "low memory warnings" in skill Reply

    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

    • Post Points: 20
  • Wed, Jan 9 2013 12:08 AM

    Re: How to handile "low memory warnings" in skill Reply

    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.

    • Post Points: 5
  • Wed, Jan 9 2013 12:12 AM

    Re: How to handile "low memory warnings" in skill Reply

    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.

    • Post Points: 20
  • Wed, Jan 9 2013 12:52 AM

    • KKANDOTH
    • Not Ranked
    • Joined on Thu, May 5 2011
    • Posts 12
    • Points 210
    Re: How to handile "low memory warnings" in skill Reply

    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

     
    • Post Points: 20
  • Wed, Jan 9 2013 1:20 AM

    Re: How to handile "low memory warnings" in skill Reply

    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.

     

    • Post Points: 5
Page 1 of 1 (5 items)
Sort Posts:
Started by KKANDOTH at 08 Jan 2013 09:01 PM. Topic has 4 replies.