Skip to main content

Software  >  Rational  >  

Error: Cannot load program with PurifyPlus on AIX

 Technote (troubleshooting)
 
Problem(Abstract)
This technote explains how to resolve a Cannot load program error that can occur when using IBM Rational PurifyPlus on the IBM AIX platform.
 
Symptom
When running an application instrumented with IBM Rational PurifyPlus on AIX, you receive an error similar to the following:

    Cannot load program myApp.pure because of the following errors:
    0509-150 Dependent module /usr/lib/libxerces.so_pure_p7_c0_109122356_32 could not be loaded.
    0509-026 System error: There is not enough memory available now.
 
Cause
This error typically occurs when the instrumented application is too large, thus exhausting the system's resources.
 
Resolving the problem
To resolve this problem, you should instrument some modules in "exclude" mode. This allows for the least amount of instrumentation possible for a given module. To determine which modules to instrument in "exclude" mode, you should look for third-party libraries or any modules you are not interested in collecting data on.
To specify which modules to instrument in "exclude" mode, use the following two options:
    -selective
    -exclude-libs=<colon-separated list of modules>

For example, to instrument the binary myApp and exclude the libraries abc.so and xyz.so, you would run the following command:

purify -selective -exclude-libs=abc.so:xyz.so myApp


Do you need more help?

For additional assistance, contact IBM Rational Client Support:
Submit a Service Request (SR)

 
 
Cross Reference information
Segment Product Component Platform Version Edition
Software DevelopmentRational PureCoverageRuntimeAIX7.0
Software DevelopmentRational PurifyRuntimeAIX7.0
 
 

Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.
Rate this page
Please take a moment to complete this form to help us better serve you.
This material provides me with the information I need.




This material is clear and easy to understand.




Did the information help you to achieve your goal?
What updates, improvements, or related information would you like to see in this document?
Your response will be used to improve our document content. Requests for assistance, if applicable, should be submitted through your normal support channel as we cannot respond from this site.
Input the verification number to submit feedback:
Document information
 Product categories:
 Software
 Software Development
 Software Quality Management
 Rational PurifyPlus
 Runtime
 Operating system(s):
  AIX
 Software version:
  7.0, 2003a.06.13, 2003a.06.15
 Reference #:
  1330052
 IBM Group:
 Software Group
 Modified date:
 2009-11-06

Translate My Page
 
 

Rate this page

Help us improve this page. Your response will be used to improve our document content. Requests for assistance, if applicable, should be submitted through your normal support channel as we cannot respond from this site.