You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 1, 2019. It is now read-only.
Most namespaces use lazy seq and delays or memoized functions at the top level. This accumulates used memory and eventually causes problems for the later tests.
One approach to solve this could be: delete the namespace after the last test using a global fixture.
The text was updated successfully, but these errors were encountered:
borkdude
changed the title
Purge namespace after last test to free up memory
Accumulation of memory in tests
Dec 10, 2018
borkdude
changed the title
Accumulation of memory in tests
Accumulation of memory usage in tests
Dec 10, 2018
Under :advanced namespaces and vars get flattened. For example, with :pseudo-namestrue, aoc.y2018.d05.mfikes/part-2 gets flattened to $aoc$y2018$d05$mfikes$part_2$$.
The vars themselves still exists as separate objects. So for example the attached tests end up looking like:
$aoc$y2018$d05$mfikes$part_2$$.$cljs$lang$test$
The trick would be to somehow find the vars retaining data. (I don't think there is a way to remove an entire namespace.)
Most namespaces use lazy seq and delays or memoized functions at the top level. This accumulates used memory and eventually causes problems for the later tests.
One approach to solve this could be: delete the namespace after the last test using a global fixture.
The text was updated successfully, but these errors were encountered: