phoenix-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars Hofhansl (JIRA)" <>
Subject [jira] [Commented] (PHOENIX-5120) Avoid using MappedByteBuffers for server side sorting.
Date Mon, 04 Feb 2019 19:01:00 GMT


Lars Hofhansl commented on PHOENIX-5120:

Actually, I can use a DataOutputStream and not an ObjectOutputStream since we're only writing
basic types. This would even be a little faster and avoid some of the head information written
by ObjectOutputStream.

> Avoid using MappedByteBuffers for server side sorting.
> ------------------------------------------------------
>                 Key: PHOENIX-5120
>                 URL:
>             Project: Phoenix
>          Issue Type: Task
>            Reporter: Lars Hofhansl
>            Assignee: Lars Hofhansl
>            Priority: Critical
>         Attachments: 5120-1.4-v2.txt, 5120-1.4-wip.txt, 5120-1.4.txt, 5120-master.txt
> We should had a production outage due to this.
> MappedByteBuffer may leave files around, on top they use direct memory, which is not
cleared until the JVM executes a full GC.
> See last comment on PHOENIX-2405.

This message was sent by Atlassian JIRA

View raw message