title: Tomcat: Passing -XX:MaxPermSize has no visible effect
body: <p>I am trying to deploy my application to Tomcat, but haven't been able to do so. I constantly keep getting OutofMemoryError permgen space. 
  I have tried various command line switches(searched different questions regarding this on stackoverflow) like -XX:MaxPermSize, -XX:PermSize, -XX:+CMSClassUnloadingEnabled, -XX:+CMSPermGenSweepingEnabled</p>
  
  <p>I gave the permgen size as 64, 128, 256, 512, but none of them works. </p>
  
  <p>Interestingly, when I receive the error, I see in task manager the java process is only taking up about 300mb memory. I am passing -Xms as 1024m, but still the memory consumption is around 300mb.</p>
  
  <p>Looking for opinions on what could be the reason?</p>
  
  <p>My system details:
  Dell Latitude 5420
  Win XP 32 Bit
  4 GB RAM</p>