-
-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handle leak by open-output-string on Windows #951
Comments
Thanks for reporting. |
あー多分わかりました。
|
shirok
added a commit
that referenced
this issue
Oct 21, 2023
This is a temporary measure. We plan to implement cleanup-free fastlock on Windows so that string ports won't need a finalizer. Cf. #951
ありがとうございます。 コミット c1bf6bb (2023-10-21) で、修正されていることを確認しました。 |
This was referenced Oct 27, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
以下の処理で、Windows のハンドル数が増加します (添付画像)。
ハンドル数が、16,000,000 くらいまでいくと、
Gauche が強制的に終了します (エラー等は出ない) 。
Gauche 0.9.13 で発生します。
Gauche 0.9.12 以前では発生しません (6000 くらいまでは増加しますが、GC に回収されます)
open-output-string は、number->string でも使われているみたいで、
(x->string 数値) で気が付きました。
#900 の関連かとも思いますが、
ちょっとよく分からないので、まずは情報として挙げておきます。
<添付画像>
The text was updated successfully, but these errors were encountered: