Skip to content

Is AWS_CUSTOM_MEMORY_MANAGEMENT still to be used? #1589

@magnushakansson

Description

@magnushakansson

Confirm by changing [ ] to [x] below:

Platform/OS/Hardware/Device
What are you running the sdk on?
Linux

Describe the question
There seems to be some inconsistency in the documentation and unclarity in how to configure custom memory management.

The code example in page https://sdk.amazonaws.com/cpp/api/LATEST/md__docs__memory__management.html refer to the define AWS_CUSTOM_MEMORY_MANAGEMENT but in the latest code the define is USE_AWS_MEMORY_MANAGEMENT (https://sdk.amazonaws.com/cpp/api/LATEST/_a_w_s_allocator_8h_source.html).

The commit 80a6407 changed it in all places in the code except in the file

#ifdef AWS_CUSTOM_MEMORY_MANAGEMENT
.

Is the intentional and you are still supposed to set AWS_CUSTOM_MEMORY_MANAGEMENT when building the SDK (and using it?) as described in the documentation?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions