When I double click activemq.bat to start MQ and reports the following error,
The reason is caused by insufficient memory. You can use Ctrl + Alt + Del –> Task manager, close some process tasks to make room, and then start again
There may be other similar situations, which may also be caused by the non rent of memory
For example, the error of starting Kafka package in the following figure: Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000c0000000, 1073741824, 0) failed; error=’The page file is too small and it can be operated.’ (DOS error/errno=1455)
Through the method agreed above, you can start successfully
- Open the idea location and select the idea64.exe.vmoptions file.
- Open this file as a text document
- Modify the parameters to be larger
- Restart the idea and project after making changes
- If it does not take effect, modify the other one under the same folder as shown in Figure 1 below
- If it does not take effect yet, modify the file in this path in the C drive, as shown in Figure 2 below
- [Solved] Error occurred during initialization of VM Could not reserve enough space for 1572864KB object heap
- [Solved] Error occurred during initialization of VM Could not reserve enough space for object heap
- [Solved] Error occurred during initialization of VM javalangNoClassDefFoundError javalangObject
- [Solved] IntelliJ IDEA Start Error: Failed to create JVM.JVM Path
- hive Run Error: Error: Java heap space [How to Solve]
- How to Solve Error occurred during initialization of boot layer
- [RFID] OctaneSDKJava Eclipse Error: Error occurred during initialization of boot layer
- [Solved] JAVA Error: Error occurred during initialization of boot layer java.lang.module.FindException
- IDEA was Filed to Start: error launching idea (Failed to create JVM )
- [Solved] Could not find resource COM / atguigu / Dao / studentdao.xm, the mapper file for storing SQL statements could not be found and an error occurred
- How to Solve JVM Common Errors: outofmemoryerror & stackoverflowerror
- [Solved] docker Start jar package and Set JVM parameter Error
- [Solved] Windows Start RocketMq Error: Unrecognized VM option ‘UseCMSCompactAtFullCollection‘
- [Solved] Windows PyCharm Start Error: failed to load JVM DLL pycharmjbrbinserverjvm.dll
- [How to Solve] Java nested object @validated is not valid
- [Solved] springboot Project Run Error: HikariPool-1 – Exception during pool initialization.
- [Solved] Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred.
- Flink Error: is not serializable. The object probably contains or references non serializable fields.
- Eclipse Error: Could not create the Java Virtual Machine Error:A fatal exception has occurred