Issue
CCS may become unstable and crash when too many control windows are open on multi-core targets.
This has been categorized as SDSCM00017777: "CCS crashes when too many control windows
are open." This defect is contained in the Code Composer IDE and can affect all targets.
Cause of Defect
This issue is caused by Windows resource limitations. When greater than five control windows
are open CCS reaches the maximum amount of allowable resources. This leads to unstable
behaviour that may eventually result in a program crash.
Preferred Work Around
The easiest way to avoid this issue is to ensure that less than six control windows are open at
any given time. Also, whenever possible, please ensure that all control windows not currently
being used are closed.
Alternate Work Around
If opening six control windows is an absolute must, users can alter their Windows Registery
to increase the resource allocation for Windows programs as follows. This is not the preferred method of working around this problem:
- Start an instance of regedit.exe to view your computers Registry Settings;
- Navigate to the key HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\;
- Select the MemoryManagement Key. This key will contain a value named SessionViewSize
- Modify the data of the SessionViewSize value to be 0x90
- Next, select the SubSystems key. This key will contain a value named Windows that will look something like the following:
- %SystemRoot%\system32\csrss.exe ObjectDirectory=\Windows SharedSection=1024,3072,512 Windows=On SubSystemType=Windows ServerDll=basesrv,1 ServerDll=winsrv:UserServerDllInitialization,3 ServerDll=winsrv:ConServerDllInitialization,2 ProfileControl=Off MaxRequestThreads=16
- Modify the SharedSection value to be the following: SharedSection=2048,6144,1024