al-maisan/openquake — comment on commit 229ad9571ee4a151843ee79316128a2230e099c2
File: tests/java_unittest.py line 206
By angri:

```python
max_mem = 654
self._prepare_config(max_mem - 99)
os.environ["OQ_JVM_MAXMEM"] = str(max_mem)
try:
self.assertEqual(max_mem, java.get_jvm_max_mem())
finally:
del os.environ['OQ_JVM_MAXMEM']
```

Otherwise the following test may fail depending on the test execution order.