You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use ignite-core-2.16.0.jar still this issue is seen.
ignite client is started in tomcat to connect to the server
ClientConfiguration cfg = new ClientConfiguration().setAddresses(addresses);
IgniteClient client = Ignition.startClient(cfg);
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);
}
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........);
}
};
The text was updated successfully, but these errors were encountered:
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
We are seeing memory issue like exact mentioned in below Jira ID
https://issues.apache.org/jira/browse/IGNITE-8892
Other Details ::
ClientConfiguration cfg = new ClientConfiguration().setAddresses(addresses);
IgniteClient client = Ignition.startClient(cfg);
ClientCache cache = client.cache("cache-name");
for (Object object : arrayList) {
cache.put(UUID.randomUUID().toString(), object);
}
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 ?
The text was updated successfully, but these errors were encountered: