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

Unnecessary redeploys by "deploy on save" #7802

Open
banifou opened this issue Sep 26, 2024 · 2 comments
Open

Unnecessary redeploys by "deploy on save" #7802

banifou opened this issue Sep 26, 2024 · 2 comments
Labels
kind:bug Bug report or fix needs:triage Requires attention from one of the committers

Comments

@banifou
Copy link

banifou commented Sep 26, 2024

Apache NetBeans version

Apache NetBeans 23

What happened

Working and making changes on different files and jumping from one file to another one sometimes triggers a webapp redeploy even though when no file has been saved at all.
This is a problem because Wildfly, Tomcat and Glassfish run out of PermGen after 10 or so redeploys.
The webapp should only redeploy when changes has been saved. Or am I misunderstanding this feature?

Language / Project Type / NetBeans Component

Java maven project

How to reproduce

Reproduceable with any maven webapp.

Did this work correctly in an earlier version?

No / Don't know

Operating System

ubuntu 24.04

JDK

openjdk 17

Apache NetBeans packaging

Apache NetBeans Snap Package

Anything else

No response

Are you willing to submit a pull request?

No

@banifou banifou added kind:bug Bug report or fix needs:triage Requires attention from one of the committers labels Sep 26, 2024
@JoachimRohde
Copy link

I cannot say anything regarding your actual problem, but are your servers really running with Java <= 7? Because PermGen has been removed in JDK 8.

@banifou
Copy link
Author

banifou commented Sep 27, 2024

That's right, I meant "out of memory".
"deploy on save" shouldn't redeploy until any changes has been saved. But not before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:bug Bug report or fix needs:triage Requires attention from one of the committers
Projects
None yet
Development

No branches or pull requests

2 participants