Describe the Bug
On my MacBook Pro with a 3.1 GHz quad-core Intel Core i7 and 16 GB of RAM, after generating unit test code using CORSUR and switching to IDEA to execute the unit test code, the computer prompts that there is insufficient memory. When I open the Activity Monitor on my Mac, I find that there are many CORSUR Java child processes running. After closing CORSUR, the related Java processes do not exit immediately, leading to insufficient memory and causing the computer to crash, requiring a restart.
Steps to Reproduce
- Use CORSUR to generate a unit test method for a specific method in a certain class.
- After generation, switch to IDEA to run the unit test class.
- Open the Activity Monitor on the MacBook and find a large number of CORSUR Java child processes.
- After exiting CORSUR, check the Activity Monitor, and the related Java processes still exist.
Expected Behavior
- Do not generate a large number of Java processes.
Screenshots / Screen Recordings
Operating System
MacOS
Current Cursor Version (Menu → About Cursor → Copy)
版本: 1.2.1
提交: 1.99.3
日期: 031e7e0ff1e2eda9c1a0f5df67d44053b059c5d0
Electron: 2025-07-03T06:08:06.355Z (1 天前)
ElectronBuildId: 34.5.1
Chromium: undefined
Node.js: 132.0.6834.210
V8: 20.19.0
OS: 13.2.152.41-electron.0