 |
Software > Rational >
|
 |
 |
 |
Error: Cannot load program with PurifyPlus on AIX
|
| | | 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 | | | | | | | | Cross Reference information | | Segment | Product | Component | Platform | Version | Edition | | Software Development | Rational PureCoverage | Runtime | AIX | 7.0 | | | Software Development | Rational Purify | Runtime | AIX | 7.0 | |
| | |
 |
| 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. |
 |
 |
 |
| Please take a moment to complete this form to help us better serve you. |
 |
 |
 |
|
|
|
 |
 |
| 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 |
 |
|