I have a serious problem with the core's taxonomy module (Drupal 7): I have some vocabularies containing all together about 140,000 tags. I do not show these tags anywhere or use them for filtering or anything like it. At this point they are used only for a solr search index. It would be nice to show all nodes that have a certain tag as well, but I am not using this feature yet. Each node does not have more than 20 tags.
But nevertheless the taxonomy module eats all my memory so that the whole site is broken. I get the message
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 75 bytes) in .../modules/taxonomy/taxonomy.module on line 1022
Does that mean, taxonomy module is not capable to deal with vocabularies that big? What am I supposed to use instead of taxonomy module to deal with big vocabularies?