Start here

Home
About Klocwork
What's new
Fixed issues
Release notes
Installation

Reference

C/C++ checkers
Java checkers
C# checkers
MISRA C 2004 checkers
MISRA C++ 2008 checkers
MISRA C 2012 checkers
MISRA C 2012 checkers with Amendment 1
Commands
Metrics
Troubleshooting
Reference

Product components

C/C++ Integration build analysis
Java Integration build analysis
Desktop analysis
Refactoring
Klocwork Static Code Analysis
Klocwork Code Review
Structure101
Tuning
Custom checkers

Coding environments

Visual Studio
Eclipse for C/C++
Eclipse for Java
IntelliJ IDEA
Other

Administration

Project configuration
Build configuration
Administration
Analysis performance
Server performance
Security/permissions
Licensing
Klocwork Static Code Analysis Web API
Klocwork Code Review Web API

Community

View help online
Visit RogueWave.com
Klocwork Support
Rogue Wave Videos

Legal

Legal information

Kwadmin load of build fails; portal shows status as in progress

In a Windows 32-bit environment, when you run the kwadmin --url http(s)://<host>:<port>/ load <project_name> [<tables_directory>] command to load the Klocwork tables the Klocwork server, the following can occur:

  • The command appears to succeed because you receive a "Build successfully created" message.
  • The portal continues to show the status as "in progress."
  • The klocwork.log file shows that the build failed to load, for example:
    ERROR com.klocwork.server.LoadBuildDatabaseTask - Failed to load build 'build_4' database of project 'my_project': kwloaddb exited with -1. See kwloaddb.log for more details.
    com.klocwork.projapi.ServerException: kwloaddb exited with -1. See kwloaddb.log for more details.
    
Workaround: Reduce the memory allocation for kwloaddb:
  1. Use a text editor to open the java_wrappers_memory.conf file located in the config folder of your Klocwork Server installation, for example: D:\Klocwork\Server 12.3\config\java_wrappers_memory.conf.
  2. Change the memory allocation for kwloaddb from 2G to 1G.
  3. Save the file and rerun the command.