Profile petascope, rasj for excessive RAM usage
It seems that petascope uses more memory than it theoretically should. The following query selects a 1GB PNG from rasdaman:
for b4 in(s2a_l2a_t32tps_B04_10m), b8 in (s2a_l2a_t32tps_B08_10m)
return encode(
(b8[ansi("2016-11-08T15:47:44.000Z")] - b4[ansi("2016-11-08T15:47:44.000Z")]) /
(b8[ansi("2016-11-08T15:47:44.000Z")] + b4[ansi("2016-11-08T15:47:44.000Z")])
,"png")
however, Tomcat consumes at least 4GB, even though petascope needs to transfer only 1GB in total from rasdaman to the client.
Change History
(8)
Summary: |
Profile petascope → Rasserver takes 4.5 GB for a request with result in 40 MB.
|
Owner: |
changed from Bang Pham Huu to Dimitar Misev
|
Status: |
new → assigned
|
Summary: |
Rasserver takes 4.5 GB for a request with result in 40 MB. → Petascope profile
|
Owner: |
changed from Dimitar Misev to Bang Pham Huu
|
Summary: |
Petascope profile → Profile petascope for excessive RAM usage
|
Milestone: |
10.0 → 9.4
|
Priority: |
major → critical
|
Owner: |
changed from Bang Pham Huu to Dimitar Misev
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
Summary: |
Profile petascope for excessive RAM usage → Profile petascope, rasj for excessive RAM usage
|
The problem is not from Petascope as Rasserver takes 4.5 GB Ram (monitored by htop and System Monitor) and the result returns only 40 MB.
the coverages were imported with 1 band for 1 coverage (band04: 113.6 MB and band08: 135.3 MB) JPG2 and the WCPS query is
and Rasql query is