|
|
A compile error occurs due to missing import statements in the source code.
|
- Locate the error using Edit > Next Message.
- Right-click the variable or class name.
- Select Copy package name as import statement. The BlackBerry® IDE copies the package name associated with the variable or class to the Microsoft® Windows® clipboard.
- Right-click an area in the import section of the source file.
- Select Edit > Paste. The BlackBerry IDE inserts the package name for the variable or class as an import statement.
|
The BlackBerry IDE stops responding when you run the Profiler tool.
|
> Make sure that 512 MB of RAM are available to the BlackBerry IDE.
See "Optimize source code" on page 51 for more information.
|
A java.lang.OutOfMemory error occurs.
|
Run the BlackBerry IDE with the -Xmx256M switch.
|
The BlackBerry IDE runs too slowly.
|
- Upgrade your RAM. One BlackBerry IDE and one BlackBerry Smartphone Simulator require 512 MB of RAM. To run several BlackBerry IDEs or the BlackBerry MDS simulator and the BlackBerry IDE, upgrade to 768 MB or 1 GB of RAM.
- Shut down occasionally.
- Disable auto-complete to reduce your memory footprint and load time.
|
Debug activity on a connected BlackBerry device is too slow.
|
- Close unnecessary debug windows.
- Make sure that debug windows are not hidden under your source code. Debug windows refresh even when they are hidden.
|