You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by "Xuanwo (via GitHub)" <gi...@apache.org> on 2023/06/13 02:57:56 UTC
[GitHub] [incubator-opendal] Xuanwo opened a new issue, #2455: python: op.write() seems have memory leak
Xuanwo opened a new issue, #2455:
URL: https://github.com/apache/incubator-opendal/issues/2455
```py
import opendal
import asyncio
import gc
op = opendal.AsyncOperator("s3", xxx)
print(f"operator: {op}")
async def w2minio(f):
fd = open(f,'rb')
await op.write(f, fd.read())
fd.close()
gc.collect()
print("end")
for i in range(3,7):
f=f"x{i}"
print(f)
asyncio.run(w2minio(f))
```

--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-opendal] messense commented on issue #2455: python: op.write() seems have memory leak
Posted by "messense (via GitHub)" <gi...@apache.org>.
messense commented on issue #2455:
URL: https://github.com/apache/incubator-opendal/issues/2455#issuecomment-1588862858
Probably caused by https://github.com/PyO3/pyo3/issues/1056
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] python: op.write() seems have memory leak [incubator-opendal]
Posted by "Xuanwo (via GitHub)" <gi...@apache.org>.
Xuanwo closed issue #2455: python: op.write() seems have memory leak
URL: https://github.com/apache/incubator-opendal/issues/2455
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-opendal] wubx commented on issue #2455: python: op.write() seems have memory leak
Posted by "wubx (via GitHub)" <gi...@apache.org>.
wubx commented on issue #2455:
URL: https://github.com/apache/incubator-opendal/issues/2455#issuecomment-1588592396
<img width="410" alt="image" src="https://github.com/apache/incubator-opendal/assets/320680/72274dc5-929a-4a34-8a33-b3eb83254750">
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] python: op.write() seems have memory leak [incubator-opendal]
Posted by "Xuanwo (via GitHub)" <gi...@apache.org>.
Xuanwo commented on issue #2455:
URL: https://github.com/apache/incubator-opendal/issues/2455#issuecomment-1842761430
We have `File` support now. Let's close.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org