Qlik Community

GeoAnalytics

Discussion Board for collaboration regarding Qlik GeoAnalytics.

Announcements
Customer & Partners, DEC. 9, 11 AM ET: Qlik Product & Strategy Roadmap Session: Data Analytics REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
sajalgour2309
Contributor II
Contributor II

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

 

 

Labels (2)
1 Solution

Accepted Solutions
Patric_Nordstrom
Employee
Employee

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

View solution in original post

3 Replies
Patric_Nordstrom
Employee
Employee

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
Contributor II
Contributor II
Author

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

 

 

 

Patric_Nordstrom
Employee
Employee

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

View solution in original post