[
https://issues.apache.org/jira/browse/TRAFODION-3236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16697685#comment-16697685
]
ASF GitHub Bot commented on TRAFODION-3236:
-------------------------------------------
GitHub user Guo-Heng opened a pull request:
https://github.com/apache/trafodion/pull/1749
[TRAFODION-3236] allocate revcive buffer by using dynamic array sizing
instead of allocate from heap dynamically
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/Guo-Heng/trafodion trafodion_issue_3236
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/trafodion/pull/1749.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1749
----
commit 79ac56f5c4bd6400c04cd26e4698557579c4fcac
Author: heng.guo <heng.guo@...>
Date: 2018-11-24T07:20:35Z
allocate revcive buffer by using dynamic array sizing instead of allocate
from heap dynamically
----
> Create table failed due to an exception of java IO from HBase
> -------------------------------------------------------------
>
> Key: TRAFODION-3236
> URL: https://issues.apache.org/jira/browse/TRAFODION-3236
> Project: Apache Trafodion
> Issue Type: Improvement
> Components: dtm
> Affects Versions: 2.2.0
> Reporter: Guo Heng
> Assignee: Guo Heng
> Priority: Minor
>
> In the code file:
> [core/sqf/src/tm/tm.cpp|https://github.com/apache/trafodion/pull/1748/commits/be7c999b5cc27c74c5b8004158a2aa18236dd6d9#diff-fc1bfd76bb5a88b2fbcd581c90968da9]
> In the function definition of line 2788, there are two buffer definitions,
> la_recv_buffer and la_recv_buffer_ddl. Maybe we can avoid dynamically
> assigning la_recv_buffer_ddl. It is enough to use only la_recv_buffer, which
> simplifies the logic and reduces the heap pressure.
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)