Tag Archives: Flash back

Start Tomcat and report error occurred during initialization of VM could not reserve enough space for object

Double click the mouse to start cattom startup.bat Flashback and operation error occurred, localhost:8080 Naturally, web pages can’t be opened.

1. Can be edited in startup.bat , add a line at the end to view the information of running error. In order to see the information in more detail, let’s change another sentence: find call% executable% “run% CMD_ LINE_ Args% replaces start with run.

pause

2. After joining, save and run startup.bat Error occurred during initialization of VM could not reserve enough space for object heap catalina.sh The Tomcat memory parameter of the file is too large, which is caused by exceeding the total available memory of the machine. You can modify it to an appropriate value.

3. Find it in the bin directory of Tomcat catalina.bat Edit and join, save and exit startup.bat That’s it.

set JAVA_OPTS=-server -Xms512m -Xmx512m  -XX:PermSize=256m -XX:MaxPermSize=256m

Solve the problem of visual studio console flashback

On the top navigation bar, click “Project” ->; “Properties” – & gt; ‘Configure Properties’ –>; “Linker” –>; “System” – & gt; “Subsystems (there is a drop-down icon on the right side of the window)” –>; SUBSYSTEM:CONSOLE -> drop down box select ‘/SUBSYSTEM:CONSOLE’ -> Finally “confirm” –>; Click on the top right corner of “File” –>; “Save it all.”

Visual studio 2012, a complete collection of solutions to flash back windows after running

Visual Studio 2012, flash back window after the solution of operation

I believe you all have a kind of want to beat the rhythm of the person, every time to write the code, after the code is written, run the compiled code but the result of window flashback, below, I will introduce several solutions to Visual Studio 2012 run window flashback method. I hope I can help you solve this problem.
Method 1: Press Ctrl +F5 to run the program, and then run the program.
This method is only to solve the general flash back, rookie level novice if there is a flash back, might as well try this method, Xiaobian when just contact VS, is to use this method to solve.
//add system(“pause”) before Main’s returrn = 0;
This method can solve most of the flashback problem, of course, some more advanced, Xiaobian temporarily do not know whether this method has any effect, and so on later contact will be constantly updated.
Method 3: Use getchar() before return. This method can also solve the flashback problem, but you have to try it out slowly.
Method 4: Flashback will occur when an exception is encountered. To solve this problem, it is generally necessary to check the various plug-ins of VS itself, which may be caused by the expiration of plug-ins.
Method 5: you can try to set the debugging type to native or mixed only, this method is not always effective, the specific effective Xiaobian has not found the result, know the dear friends can also reply.
Inline void keep_window_open(char ch; cin> > ch;) , then add keep_Window_open() to the end of the mian function; This method is the most effective and the most commonly used, and the most effective method. (Recommended)
Method 7: Set breakpoint debugging method, press F9 to set breakpoint, press F10 to step debugging. This method is also very effective in finding errors.

The above is a summary of the solution to VS2012 flashback method, there are mistakes please point out, Xiaobian in this thank you. Of course, if there are other ways to reply, so that more latecomers can see, no longer bothered by the problem. Thanks for the flowers

MDK (keil) debugging often appears flashback phenomenon solution.

1, open registry
, Win+R call out “run”, type “Regedit” in the box, enter to open registry.
3, if the popup “Do you allow this application to make changes to your computer” permissions, select “Yes”
the registry, find and enter HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers If found the following entry (C: Keil\UV4\ uv4.exe), — this path is the actual installed path of Keil in your computer.
4, after delete, restart Keil, test debugging is feasible