New submission from zzz654321 <[email protected]>:

import ctypes as C

s1= "0"* 1024* 1024* 10
# mem engross add 10M bytes
b1= C.create_string_buffer(s1 )
# CPU 1 core 100% and mem engross add 300M bytes ?
I don't know!
please talk me, thanks very match....

I'm chinese, english is not good, sorry!

----------
files: unnamed
messages: 6463
nosy: pypy-issue, zzz654321
status: unread
title: BUG! ctypes create_string_buffer

________________________________________
PyPy bug tracker <[email protected]>
<https://bugs.pypy.org/issue1670>
________________________________________
_______________________________________________
pypy-issue mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-issue

Reply via email to