QNX RTOS v4 Knowledge Base
QNX RTOS v4 Knowledge Base
Title |
wd reports "Not Enough Memory" x0awhen started on a system with x0alarge environment size |
Ref. No. |
QNX.000010465 |
Category(ies) |
Utilities, Development, Configuration |
Issue |
wd reports that there isn't enough memory when executed. We have plenty of free memory left - we do have a large environment (lots of environment variables set). How do can we get wd to work? |
Solution |
There are 3 different possible ways to work around
- if possible, reduce your environment variables to < 3.4 KB
- Debug your application from another console with "wd <pid>"
- Use a configuration file instead of environment for passing startup information to your program
Note:16-bit programs are handled in a different way than 32-bit programs, so this might cause this problem.
"vedit" has the same problems when the environment is ~6.5K
|
|