I know I can pass parameters to java to limit the amount of memory used, but that doesn't change the application behavior. (assuming I will get an out of memory exception or similar)

I would like to limit the amount of memory that solr uses. I am assuming it is as simple as setting a single configuration option, but googling so far has been fruitless.

Any ideas? Thanks!

Edit: I just want to note that I understand there will be a tradeoff between memory usage and execution speed. In this case, I am willing to sacrifice speed to reduce memory footprint. I also understand that it is possible that solr does not support the option of tuning this tradeoff.
['https://serverfault.com/questions/418342', 'https://serverfault.com', 'https://serverfault.com/users/107102/']
Check out this article, it should address your needs

<http://blogs.technet.com/b/grouppolicy/archive/2009/07/30/security-filtering-wmi-filtering-and-item-level-targeting-in-group-policy-preferences.aspx>

and like Joe said, yes you can use groups for computers as well
Yes, you can use a security group populated with computer accounts to filter Group Policy.