Skip to content

Limit Mockserver memory usage#32

Merged
mganisin merged 1 commit into3scale-qe:mainfrom
pehala:patch-1
Jun 19, 2023
Merged

Limit Mockserver memory usage#32
mganisin merged 1 commit into3scale-qe:mainfrom
pehala:patch-1

Conversation

@pehala
Copy link
Copy Markdown
Contributor

@pehala pehala commented Jun 13, 2023

This time it actually works (at least so far)

@mganisin
Copy link
Copy Markdown

@pehala are you sure? I know you are :-) anyway brief reasoning why or if this will avoid out of memory tracebacks would be nice.
Anyway we need this with no doubt maybe even lower quota

@pehala
Copy link
Copy Markdown
Contributor Author

pehala commented Jun 15, 2023

I think it works because the JVM tries to allocate a maximum percentage of available memory.

@mganisin
Copy link
Copy Markdown

I think it works because the JVM tries to allocate a maximum percentage of available memory.

Could I ask you to put this assumtion to commit message?

- It seems to respect the memory limit and the increased usage we saw was just a consequence of having no limit at all
@pehala
Copy link
Copy Markdown
Contributor Author

pehala commented Jun 19, 2023

I think it works because the JVM tries to allocate a maximum percentage of available memory.

Could I ask you to put this assumtion to commit message?

Done

@pehala pehala requested a review from mdujava June 19, 2023 10:27
@mganisin mganisin merged commit 11f835f into 3scale-qe:main Jun 19, 2023
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

Successfully merging this pull request may close these issues.

3 participants