Skip to content

Commit

Permalink
fix client retry create proxy lead to OOM (#4109)
Browse files Browse the repository at this point in the history
  • Loading branch information
vio-lin authored and beiwei30 committed May 23, 2019
1 parent 1a66206 commit 13e876e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,7 @@ private T createProxy(Map<String, String> map) {
logger.info("Using injvm service " + interfaceClass.getName());
}
} else {
urls.clear(); // reference retry init will add url to urls, lead to OOM
if (url != null && url.length() > 0) { // user specified URL, could be peer-to-peer address, or register center's address.
String[] us = SEMICOLON_SPLIT_PATTERN.split(url);
if (us != null && us.length > 0) {
Expand Down

0 comments on commit 13e876e

Please sign in to comment.