Skip to content
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

"Returning an object but pool is full" spammed in Transcript #2946

Closed
kiran-kp opened this issue Dec 10, 2022 · 6 comments
Closed

"Returning an object but pool is full" spammed in Transcript #2946

kiran-kp opened this issue Dec 10, 2022 · 6 comments

Comments

@kiran-kp
Copy link

I'm very new to smalltalk/pharo/gtoolkit and am having trouble diagnosing this issue. I have a fresh download of gtoolkit v0.8.2253 for Linux. As soon as I open gtoolkit and open Transcript the log message Returning an object but pool is full is spammed repeatedly. It makes it impossible to use Transcript because this does not stop and clearing the window does not help.

Happy to provide more information if someone can give me tips to investigate.

OS: Fedroa 37
RAM: 16GB
Display: Wayland

@girba
Copy link
Member

girba commented Dec 10, 2022

Thank you for the issue. It is not your fault :). This issue comes from the underlying Pharo library for threaded FFI. We will look into it.

In the meantime, what are you trying to add to Transcript? An alternative can be Beacon. Please take a look in the Glamorous Toolkit book.

Screen Shot 2022-12-10 at 10 23 46 PM

@kiran-kp
Copy link
Author

I wasn't actually trying to do anything with Transcript. I just noticed some performance issues and went poking around when I noticed the log spam. Feel free to close this issue if it's a duplicate.

@nergal-perm
Copy link

nergal-perm commented Dec 14, 2022

As a workaround I can suggest finding all the occurencies of 'pool is full' strings and commenting out all found lines of code. Searching is done like that:

'pool is full' gtSubstringMatch

Or you can go straight away to class TFPool and check its method returnOne: - that's the spamming thing.

I always do that for a fresh GT image.

@girba
Copy link
Member

girba commented Dec 14, 2022

@nergal-perm thanks for letting us know that you do that all the time :).

But my question is: do you need to open the Transcript often?

@nergal-perm
Copy link

Oh, I don't use Transcript at all :) but the thing is that image grows in size every time I save it. I suppose it's because of those log messages. Clearing the Transcript helps, but it's temporary.

@girba
Copy link
Member

girba commented Dec 14, 2022

Hmm, those log messages should not affect much the image size.

refactoringdr added a commit to feenkcom/gt4pharo that referenced this issue Jan 2, 2023
syrel pushed a commit that referenced this issue Jan 2, 2023
Metacello new
    baseline: 'GToolkitForPharo9';
    repository: 'github://feenkcom/gtoolkit:v0.8.2320/src';
    load

All commits (including upstream repositories) since last build:
feenkcom/gt4pharo@b1d335 by Don Roberts
Fix Pharo FFI spamming transcript. [#2946]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants