title: android studio use to much ram on ubuntu
body: <p>can anyone tell me why android studio on Ubuntu use to much ram memory and why it is so painful to code.
  My specs are:
  cpu: i3-2310m
  ram: 4gb ddr3
  system: ubuntu 16.04.1 </p>
  
  <p>I had android studio on win 10 and with emulator was used only 3,4gb of ram.
  Codding was not so great on win 10, but definitely less painful (less lagging)than on ubuntu. 
  I use the same android studio (2.1) and the same project but,
  on Ubuntu use whole ram and use 1,1 gb of swap and emulator now is lagging. how is that possible, should not android studio be less demanding on ubuntu than on windows os? </p>