-
Notifications
You must be signed in to change notification settings - Fork 618
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
fix oom. if config resendRequestChunkSize. Loading data is batch #777
base: master
Are you sure you want to change the base?
Conversation
Can merge that pr? |
throws IOException, InvalidMessage, FieldNotFound { | ||
|
||
throws IOException, FieldNotFound { | ||
// Prevent a one-time load of data that is too large, resulting in memory OOM。 if config resendRequestChunkSize。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please check that you don't use strange characters in the source code, e.g. as after
resendRequestChunkSize。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, what I optimized was the problem of overloading at one time.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please check that you don't use strange characters in the source code, e.g. as after
resendRequestChunkSize。
Are you asking me to remove comments from the code?
@chrjohn oh~, you see see |
@@ -3145,4 +3145,47 @@ public void testSend_ShouldKeepPossDupFlagAndOrigSendingTime_GivenAllowPosDupCon | |||
assertTrue(sentMessage.getHeader().isSetField(PossDupFlag.FIELD)); | |||
assertTrue(sentMessage.getHeader().isSetField(OrigSendingTime.FIELD)); | |||
} | |||
|
|||
|
|||
@Test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does this test do if you roll back your changes in the Session class? To me it looks like it just tests your session builder. But to be honest I am only looking at it on my mobile not IDE, so maybe I'm missing something.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know what you mean
Fixes #778
If the amount of data is particularly large 。
in quickfixj-initiator delete local quickfixj file。 restart quickfixj-acceptor OOM (If there is no excessive memory)
need config
Can solve this problem