Qlik Community

Qlik GeoAnalytics Discussions

Discussion Board for collaboration regarding Qlik GeoAnalytics.

Highlighted
sajalgour2309
New Contributor

Java Heap Error in Closest Function

Hi,

I am using Geo analytics's Closest function to find three nearest stores of a store. I have geo points of each stores.

When i run this (using Geo analytics Plus connector) for a sample data of 100 or 500 rows everything works fine but if i run the same code for more than 2000 stores i get 'Java heap space error'.

Is there any way to solve this ?

Sajal

 

 

1 Solution

Accepted Solutions
Employee
Employee

Re: Java Heap Error in Closest Function

I recommend to split see this article for pointers:
https://community.qlik.com/t5/Qlik-GeoAnalytics-Documents/Splitting-up-GeoAnalytics-connector-operat...

The QGA Server has memory settings: The Memory setting can be changed later
by rerunning the same installer or by opening the Java tab in the Configure
Service desktop app.

Thanks,
Patric
3 Replies
Employee
Employee

Re: Java Heap Error in Closest Function

There is a limit of of 400 end points in the Closest (for transport mode "Car, truck or pedestrian". Not for "Bird") calculation when running towards map.qlikcloud.com. To overcome that you need a on-premise QGA Server.

Note that the QGA Server needs at least 16 GB of free memory for routing, see install guide.

Thanks,
Patric
sajalgour2309
New Contributor

Re: Java Heap Error in Closest Function

Hello Patric,

We have QGA server locally installed. It has free memory more than 16 GB.

Is there anything else which might be going wrong. As alternative solution i can loop through 400 points each time if you think it is a good idea ?

Sajal

 

 

 

Employee
Employee

Re: Java Heap Error in Closest Function

I recommend to split see this article for pointers:
https://community.qlik.com/t5/Qlik-GeoAnalytics-Documents/Splitting-up-GeoAnalytics-connector-operat...

The QGA Server has memory settings: The Memory setting can be changed later
by rerunning the same installer or by opening the Java tab in the Configure
Service desktop app.

Thanks,
Patric