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

heap size issue similar to https://issues.apache.org/jira/browse/IGNITE-8892 #11586

Open
mohanarao1 opened this issue Oct 14, 2024 · 0 comments

Comments

@mohanarao1
Copy link

mohanarao1 commented Oct 14, 2024

We are seeing memory issue like exact mentioned in below Jira ID
https://issues.apache.org/jira/browse/IGNITE-8892

Other Details ::

  1. We use ignite-core-2.16.0.jar still this issue is seen.
  2. ignite client is started in tomcat to connect to the server
    ClientConfiguration cfg = new ClientConfiguration().setAddresses(addresses);
    IgniteClient client = Ignition.startClient(cfg);
  3. ignite server is loaded with 1M data using code like below
    ClientCache cache = client.cache("cache-name");
    for (Object object : arrayList) {
    cache.put(UUID.randomUUID().toString(), object);
    }
  4. facing the heap size issue (of 8M records even if we have 1M records in cache) and tomcat crashes

Object will be our own objects which we send to the below Filter.
IgniteBiPredicate<String, Object> filter1 = new IgniteBiPredicate<String, Object>() {
@OverRide
public boolean apply(String k, Object obj) {
return .equals(obj.getVa........);
}
};

try (QueryCursor<Cache.Entry<String, Object>> qryCursor = cache.query(new ScanQuery<>(filter))) {
qryCursor.forEach(entry -> {
matchedList.add(entry.getValue());
});
}
after executing above code memory issue is seen.

Can somebody pls help on this issue ?

@mohanarao1 mohanarao1 changed the title Reg https://issues.apache.org/jira/browse/IGNITE-8892 heap size issue similar to https://issues.apache.org/jira/browse/IGNITE-8892 Oct 14, 2024
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

No branches or pull requests

1 participant