How to increase the java heap size in netbeans?

You can set it in NetBeans in the project properties -> Run -> VM options Right click on your project “Properties“ Select “Run” category. Enter your arguments(-Xmx512m) in the “VM Options” text box. Example: Putting -Xmx512m in the “VM Options” text box gives 512Mb maximum heap size to your Java program.

many url-pattern for the same servlet

I guess it has more to do with the servlet spec the container/netbeans is using rather than being an issue with the container. Your net beans seems to be using the spec 2.5 to construct the servlet mapping and hence you get <servlet-mapping> <servlet-name>fred</servlet-name> <url-pattern>*.jsp</url-pattern> <url-pattern>/url</url-pattern> </servlet-mapping> Read more about this here. It says Previous … Read more

Netbeans 7.2 shows “Unable to resolve identifier” , although build is successful

Here’s an excerpt from my answer to another question. Unresolved Identifier If the source of the .cpp file looks like this Click with the right mouse button on your project. Check C/C++ Code As… Run Reparse Project. If that is not enough. Go to Project Properties Fill in the Include input field as described. Set … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)