How to uninstall module if admin/modules path is not accessible due to memory error The problem is - I installed ubercart and was playing with devel module. Now when I'm trying to go to admin/modules I'm getting:


  Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to
  allocate 8642561 bytes)


I would like to uninstall devel module because I think this is its fault, but I can't as I don't have access to admin/modules because of this error :/ . Is there another way to uninstall a module and free some memory?

Edit: Well, turning off some options in devel settings helped, but still it would be nice to know answer to this question as problem can potentially appear for someone :) .
Use drush:


drush dis MODULE-NAME


You can also disable modules manually in the database:


UPDATE system SET status='0' WHERE name='module_name';

Then you need to clear cached system list (Drupal 7 only):

DELETE FROM cache_bootstrap WHERE cid='system_list'