When I open the minecraft launcher there is 1 javaw.exe showing in my task manager, and when i click play in the launcher, 2 are opened. I believe it is because one of the javaw.exe's is the game (running up to 500k memory) and the other is the launcher that failed to close (200k). When I go to my task manager and close the program running 200k, minecraft runs fine. I just hate having to do that manually everytime i play minecraft. None of this happened to me a couple days ago. In the past couple days, in order to raise my FPS, I installed 64bit Java, Optifine, and upped my virtual ram by about 1-2k (moved it to the recommended max setting of about 5.2k). Also I noticed when I play minecraft, even when I get rid of the second javaw.exe, it makes my iTunes going on in the background lag bad. I can't listen to music at all and it worked so fluently before. I tried to the regular minecraft client instead of Optifine but it gives me this "error could not create the java virtual machine" error. I think I managed to open the regular client at one point but I still had that problem with iTunes, so it may not be Optifine. I tried to change the priority of iTunes to a high but the problem still occurs.
Please help me figure out how to stop minecraft from opening 2 Javaw.exe's when I play, and how to make my iTunes stop lagging when I play minecraft!
How much memory does your computer have, as well as your CPU, GPU, etc? Increasing your virtual memory will not fix lag caused by insufficient physical RAM - in fact, you do not want to use virtual memory (paging to disk) as that is literally millions of times slower than physical RAM (even SSDs are slow by comparison) and in the worse case end up in thrashing where your computer slows down to a crawl.
I also recommend reducing the amount of memory allocated to Minecraft, such as replacing -Xmx1G with -Xmx512M or -Xmx768M (do not try changing anything else); this will limit your settings (higher render distances require more memory) but it doesn't sound like you can handle it anyway.
Also, I noticed in your screenshot that your CPU usage seems rather high compared to what Minecraft is using by itself, only 7% out of 45% (normally I see Minecraft using most of the CPU, with dwm using a smaller amount; dwm is the program that renders windows, CPU usage while actually playing is around 60-70%, so if that is any indication you may be hitting 100% while playing, slowing everything down), which may also be an issue; you still have 50% memory free so memory may not actually be the issue (on my 32 bit Windows 7 computer I use about 2 out of 3 GB when playing and don't have any memory issues).
In addition, you say it worked fine before; when was this, and was it before you updated the game or anything else? Otherwise, what are your in-game settings at? For example, setting framerate to unlimited will cause your computer to work as hard as it can, you may want to try lowering it.
All of my ingame settings are set to fastest. I recently uninstalled Optifine, Java 64 bit, and reinstalled minecraft. I still have the same problem with it creating 2 Java.exe's in my windows task manager. This problem started occuring around when i started using Optifine, but now i uninstalled it and am still having this problem. I may have fixed the iTunes problem, still working on it. At the moment im having a new problem, half of the blocks arent even rendering. Please look at this gyazo http://gyazo.com/5179c9b45b17aa101787b7a78f18d910 Looks like my minecraft is running 50% CPU and iTunes 2% so i think im good in that regard at the moment.
All of my ingame settings are set to fastest. I recently uninstalled Optifine, Java 64 bit, and reinstalled minecraft. I still have the same problem with it creating 2 Java.exe's in my windows task manager. This problem started occuring around when i started using Optifine, but now i uninstalled it and am still having this problem. I may have fixed the iTunes problem, still working on it. At the moment im having a new problem, half of the blocks arent even rendering. Please look at this gyazo http://gyazo.com/5179c9b45b17aa101787b7a78f18d910 Looks like my minecraft is running 50% CPU and iTunes 2% so i think im good in that regard at the moment.
Are your drivers up to date?
Also I heard that using VBOs helps reduce graphical glitching on slower PCs
When I open the minecraft launcher there is 1 javaw.exe showing in my task manager, and when i click play in the launcher, 2 are opened. I believe it is because one of the javaw.exe's is the game (running up to 500k memory) and the other is the launcher that failed to close (200k). When I go to my task manager and close the program running 200k, minecraft runs fine. I just hate having to do that manually everytime i play minecraft. None of this happened to me a couple days ago. In the past couple days, in order to raise my FPS, I installed 64bit Java, Optifine, and upped my virtual ram by about 1-2k (moved it to the recommended max setting of about 5.2k). Also I noticed when I play minecraft, even when I get rid of the second javaw.exe, it makes my iTunes going on in the background lag bad. I can't listen to music at all and it worked so fluently before. I tried to the regular minecraft client instead of Optifine but it gives me this "error could not create the java virtual machine" error. I think I managed to open the regular client at one point but I still had that problem with iTunes, so it may not be Optifine. I tried to change the priority of iTunes to a high but the problem still occurs.
Please help me figure out how to stop minecraft from opening 2 Javaw.exe's when I play, and how to make my iTunes stop lagging when I play minecraft!
http://gyazo.com/8b9cd296389f73041042a5e88893ca93
Uncheck JVM arguments in your profile settings to reset the arguments. That should fix the JVM error. Otherwise, PLEASE give more detail about it.
The second javaw is the launcher that did not fail to close, but is running in the bg in case of a crash.
Before you even THINK about asking for crash help: Guide to fixing and avoiding crashes
How much memory does your computer have, as well as your CPU, GPU, etc? Increasing your virtual memory will not fix lag caused by insufficient physical RAM - in fact, you do not want to use virtual memory (paging to disk) as that is literally millions of times slower than physical RAM (even SSDs are slow by comparison) and in the worse case end up in thrashing where your computer slows down to a crawl.
I also recommend reducing the amount of memory allocated to Minecraft, such as replacing -Xmx1G with -Xmx512M or -Xmx768M (do not try changing anything else); this will limit your settings (higher render distances require more memory) but it doesn't sound like you can handle it anyway.
Also, I noticed in your screenshot that your CPU usage seems rather high compared to what Minecraft is using by itself, only 7% out of 45% (normally I see Minecraft using most of the CPU, with dwm using a smaller amount; dwm is the program that renders windows, CPU usage while actually playing is around 60-70%, so if that is any indication you may be hitting 100% while playing, slowing everything down), which may also be an issue; you still have 50% memory free so memory may not actually be the issue (on my 32 bit Windows 7 computer I use about 2 out of 3 GB when playing and don't have any memory issues).
In addition, you say it worked fine before; when was this, and was it before you updated the game or anything else? Otherwise, what are your in-game settings at? For example, setting framerate to unlimited will cause your computer to work as hard as it can, you may want to try lowering it.
TheMasterCaver's First World - possibly the most caved-out world in Minecraft history - includes world download.
TheMasterCaver's World - my own version of Minecraft largely based on my views of how the game should have evolved since 1.6.4.
Why do I still play in 1.6.4?
All of my ingame settings are set to fastest. I recently uninstalled Optifine, Java 64 bit, and reinstalled minecraft. I still have the same problem with it creating 2 Java.exe's in my windows task manager. This problem started occuring around when i started using Optifine, but now i uninstalled it and am still having this problem. I may have fixed the iTunes problem, still working on it. At the moment im having a new problem, half of the blocks arent even rendering. Please look at this gyazo http://gyazo.com/5179c9b45b17aa101787b7a78f18d910 Looks like my minecraft is running 50% CPU and iTunes 2% so i think im good in that regard at the moment.
Are your drivers up to date?
Also I heard that using VBOs helps reduce graphical glitching on slower PCs
Before you even THINK about asking for crash help: Guide to fixing and avoiding crashes