The incoming parameters are not judged in mybatis xml
Here's how this problem occurs routinely:
1. Modify from Installed JREs; window->Preferences->Java->Installed JREs, select the current JRE, then edit it; in the new window, set the Default VM Arguments to -Xms512M -Xmx1024M; this setting should work for all projects are valid;
2. If you just want to be effective for a certain project, modify it from Debug... or Run..., and set the same parameters as above in (x)=Arguments;
3. If Tomcat, window->Preferences->Application Servers->Tomcat->Tomcat 6.x, select JDK settings;