Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix to remove potential memory leak on Jupyter Notebooks ZMQChannelHandler code#6251

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

@Vishwajeet0510
Copy link
Contributor

Adding a session to the _open_sessions list only after validating kernel. This will prevent memory wastage if any requests are made with an incorrect kernel ID.

@Vishwajeet0510Vishwajeet0510 changed the titleFix to add session only after kernel validationFix to remove potential memory leak on Jupyter Notebooks ZMQChannelHandler codeDec 24, 2021
Copy link
Member

@kevin-bateskevin-bates left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Vishwajeet0510 reacted with heart emoji
@Vishwajeet0510
Copy link
ContributorAuthor

Hey@kevin-bates

Do you have any idea when this change will be released?

@kevin-bateskevin-bates merged commit479902d intojupyter:masterJan 25, 2022
@kevin-bates
Copy link
Member

kevin-bates commentedJan 25, 2022
edited
Loading

Sorry for the delay@Vishwajeet0510! I'll try to cut a 6.4.8 release soon (within the next day or two).

Vishwajeet0510 reacted with thumbs up emoji

@kevin-bates
Copy link
Member

FYI - Notebook 6.4.8 is available on pypi:https://pypi.org/project/notebook/6.4.8/. Thanks for your help@Vishwajeet0510 and@rahul26goyal.

Vishwajeet0510 and rahul26goyal reacted with heart emoji

@blink1073
Copy link
Contributor

I added this tojupyter-server/jupyter_server#110, if you'd like to make the same submission in the new Jupyter Server@Vishwajeet0510

@kevin-bates
Copy link
Member

Ah, yes, thank you Steve!

@Vishwajeet0510 - since EG uses JupyterServer in more recent releases, a similar change would be advised. Thank you!

@Vishwajeet0510
Copy link
ContributorAuthor

Hello@kevin-bates and@blink1073

Thanks for the quick followup and release. I will create a similar PR for jupyter_server as well.

@rahul26goyal
Copy link

thanks a lot@kevin-bates for all the help in resolving this issue. :)

@Vishwajeet0510
Copy link
ContributorAuthor

Hello@kevin-bates

Is it possible to back port this fix so it is available with Notebook v6.0.3? We are currently using JEG v2.1.0 and it is not compatible with Jupyter Notebook version >6.0.3. Please let us know if this would be possible.

@kevin-bates
Copy link
Member

Hi@Vishwajeet0510 - could you please elaborate on why EG 2.1.0 is incompatible with NB >6.0.3? The only compatibility issue I'm aware of isjupyter_client > 7 and EG has caps in place (in its more recent releases) to address that.

@Vishwajeet0510
Copy link
ContributorAuthor

Hi@kevin-bates

As per my understanding, from Jupyter Notebook v6.1.0 async kernel management is supported and corresponding changes on JEG side are supported from JEG v2.1.1 onwards.

@kevin-bates
Copy link
Member

Hi@Vishwajeet0510 - since this is EG-specific and I'd like to explore things (possibly creating a longer comment chain), I've opened this discussion item in EG and hoping you and@rahul26goyal can join me there:jupyter-server/enterprise_gateway#1037

We can update this thread once things are resolved. Thank you.

@github-actionsgithub-actionsbot locked asresolvedand limited conversation to collaboratorsAug 2, 2022
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.

Reviewers

2 more reviewers

@rahul26goyalrahul26goyalrahul26goyal left review comments

@kevin-bateskevin-bateskevin-bates approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@Vishwajeet0510@kevin-bates@blink1073@rahul26goyal

[8]ページ先頭

©2009-2025 Movatter.jp