Skip to content

race test: fix out of memory problem for NUCLEO_F070RB #5379

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 1, 2017

Conversation

maciejbocianski
Copy link
Contributor

@maciejbocianski maciejbocianski commented Oct 25, 2017

Description

This test cause out of memory error ("Operator new[] out of memory") when run on NUCLEO_F070RB with GCC_ARM compiler

Since there is no need to place Thread objects on heap, it was moved from heap to main stack.
In the result more heap memory is available for test purpose and "out of memory" problem doesn't occur anymore

Status

READY

Migrations

NO

Copy link
Contributor

@0xc0170 0xc0170 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The commit could be more descriptive. It moves threads from heap to stack, as it is not required to be in heap, therfore as a result, this fixes targets with more limited heap space (more generic fix).

@bulislaw
Copy link
Member

I don't we need more reviews for that, can we push it to next stage.

@jeromecoutant
Copy link
Collaborator

| NUCLEO_F070RB-GCC_ARM | NUCLEO_F070RB | tests-mbed_drivers-race_test | OK | 16.43 | default |
| NUCLEO_F072RB-GCC_ARM | NUCLEO_F072RB | tests-mbed_drivers-race_test | OK | 16.2 | default |
| NUCLEO_L073RZ-GCC_ARM | NUCLEO_L073RZ | tests-mbed_drivers-race_test | OK | 18.96 | default |

@adbridge
Copy link
Contributor

/morph build

@mbed-ci
Copy link

mbed-ci commented Oct 30, 2017

Build : SUCCESS

Build number : 366
Build artifacts/logs : http://mbed-os.s3-website-eu-west-1.amazonaws.com/?prefix=builds/5379/

Triggering tests

/morph test
/morph uvisor-test

@mbed-ci
Copy link

mbed-ci commented Oct 30, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants