I have a quad core intel laptop, with 8GB ram and a 16GB swap file. Only 4 to 5 GB are in use when it's building. It seems to be a pure function of all 4 cores being used 100% by the java.exe processes used by the build.
On Wednesday, February 5, 2014 4:40:53 PM UTC-5, sbarta wrote: > > Is your problem CPU or RAM? Those sorts of symptoms sound like a machine > that's hitting swap really heavily, and in that case, setting CPU affinity > isn't going to help a lot. > > > On Wed, Feb 5, 2014 at 7:43 AM, Streets Of Boston > <[email protected]<javascript:> > > wrote: > >> My 64 bit Windows 7 machine has 4 cores. >> >> When Android Studio builds, the java.exe processes that are spawned take >> up all the CPU power of all the cores. >> This slows down the rest of my laptop, where the mouse stutters, keyboard >> gets unresponsive and other things slow down too much as well. >> >> Is there a way to limit these java.exe processes, i.e. the builds, to >> certain core, i.e. set the affinity and do this permanently (not using the >> task manager, because that works only as long as the java.exe process is >> alive)? >> >> I tried TaskAssign.exe, but that doesn't seem to work for the java.exe >> processes spawned by the build. >> >> I tried TaskAssign.exe to limit studio64.exe. This limits the IDE itself >> to a limited number of cores and the java.exe spawned by studio64.exe. But >> still, the java.exe processes spawned by the builds are not limited. >> >> Thanks! >> >> -- >> You received this message because you are subscribed to the Google Groups >> "adt-dev" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > -- You received this message because you are subscribed to the Google Groups "adt-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
