mirror of https://github.com/kivy/pyjnius.git
add a test for overflow
This commit is contained in:
parent
379c67873b
commit
d15564cf23
|
@ -0,0 +1,9 @@
|
|||
# run it, and check with Java VisualVM if we are eating too much memory or not!
|
||||
from jnius import autoclass
|
||||
|
||||
Stack = autoclass('java.util.Stack')
|
||||
i = 0
|
||||
while True:
|
||||
i += 1
|
||||
stack = Stack()
|
||||
stack.push('hello')
|
Loading…
Reference in New Issue