Skip to content

BUG #1770: Display meshfill template elements through renderTemplate.#2049

Merged
doutriaux1 merged 1 commit into
masterfrom
meshfill_leak
Jul 26, 2016
Merged

BUG #1770: Display meshfill template elements through renderTemplate.#2049
doutriaux1 merged 1 commit into
masterfrom
meshfill_leak

Conversation

@danlipsa

@danlipsa danlipsa commented Jul 8, 2016

Copy link
Copy Markdown
Contributor

This deletes some displays which reduces memory leaks.

@danlipsa

danlipsa commented Jul 8, 2016

Copy link
Copy Markdown
Contributor Author

Baselines in
CDAT/uvcdat-testdata#146

@danlipsa

danlipsa commented Jul 8, 2016

Copy link
Copy Markdown
Contributor Author

@doutriaux1 @aashish24 @chaosphere2112 Please review.
A question for uvcdat old-timers: Why is template.plot (and maybe other parts of the code) storing stuff in vcs.elements? I printed vcs.elements before and after doing a plot:
display is decreased from 8 to 2.

Before calling Canvas.plot

list: 28
projection: 10
texttable: 9
textorientation: 63
textcombined: 0
line: 17
marker: 9
fillarea: 1
font: 16
fontNumber: 16
boxfill: 9
isofill: 9
isoline: 9
meshfill: 7
3d_scalar: 2
3d_dual_scalar: 1
3d_vector: 1
template: 77
taylordiagram: 1
1d: 13
vector: 1
yxvsx: 1
xyvsy: 1
xvsy: 1
scatter: 1
colormap: 22
display: 1

After calling plot with my fix:

list: 28
projection: 10
texttable: 21
textorientation: 75
textcombined: 12
line: 17
marker: 9
fillarea: 1
font: 16
fontNumber: 16
boxfill: 9
isofill: 9
isoline: 9
meshfill: 8
3d_scalar: 2
3d_dual_scalar: 1
3d_vector: 1
template: 77
taylordiagram: 1
1d: 13
vector: 1
yxvsx: 1
xyvsy: 1
xvsy: 1
scatter: 1
colormap: 22
display: 2

After calling plot without my fix:

list: 28
projection: 10
texttable: 21
textorientation: 75
textcombined: 12
line: 17
marker: 9
fillarea: 1
font: 16
fontNumber: 16
boxfill: 9
isofill: 9
isoline: 9
meshfill: 8
3d_scalar: 2
3d_dual_scalar: 1
3d_vector: 1
template: 77
taylordiagram: 1
1d: 13
vector: 1
yxvsx: 1
xyvsy: 1
xvsy: 1
scatter: 1
colormap: 22
display: 8

@danlipsa

danlipsa commented Jul 8, 2016

Copy link
Copy Markdown
Contributor Author

Note texttable, textorientation, textcombined are increasing and also display is at 2 not at 1.

@chaosphere2112

Copy link
Copy Markdown
Contributor

@danlipsa This is the memory leak I referred to in @durack1's issues. @doutriaux1 was going to take a look at it

@durack1

durack1 commented Jul 12, 2016

Copy link
Copy Markdown
Member

@danlipsa #1424 is what @chaosphere2112 was talking about.. I'd be more than happy to kick the tires on a branch here, my plot slowdowns and memory usage (~100GB for a ~6800 loop) is pretty extreme

@kwrobot

kwrobot commented Jul 18, 2016

Copy link
Copy Markdown
Member

Basic content checks passed!

Branch-at: abbfec5
Acked-by: @kwrobot

@sankhesh

Copy link
Copy Markdown
Contributor

Do: test

@kwrobot

kwrobot commented Jul 18, 2016

Copy link
Copy Markdown
Member

Testing commands handed to buildbot.

Branch-at: abbfec5

@kwrobot

kwrobot commented Jul 18, 2016

Copy link
Copy Markdown
Member

Your merge request has been queued for testing. You may view the test results on CDash or Buildbot.

Branch-at: abbfec5

This deletes some displays which reduces memory leaks.
@danlipsa

Copy link
Copy Markdown
Contributor Author

@doutriaux1 @aashish24 This has been ready for a while. Please review.
https://open.cdash.org/viewTest.php?onlyfailed&buildid=4463184

@kwrobot

kwrobot commented Jul 26, 2016

Copy link
Copy Markdown
Member

Basic content checks passed!

Changes since last check: compare

Branch-at: 3873bdc
Acked-by: @kwrobot

@danlipsa

Copy link
Copy Markdown
Contributor Author

Do: test

@kwrobot

kwrobot commented Jul 26, 2016

Copy link
Copy Markdown
Member

Testing commands handed to buildbot.

Branch-at: 3873bdc

@kwrobot

kwrobot commented Jul 26, 2016

Copy link
Copy Markdown
Member

Your merge request has been queued for testing. You may view the test results on CDash or Buildbot.

Branch-at: 3873bdc

@danlipsa

Copy link
Copy Markdown
Contributor Author

@sankhesh buildbot does not seem to pickup uvcdat-testdata. I know it should be done by make, but it does not seem to happen in the latest cdath results on this PR. Is there a way to see the SHA for the test data?

@doutriaux1 doutriaux1 merged commit 63a4221 into master Jul 26, 2016
@doutriaux1 doutriaux1 deleted the meshfill_leak branch July 26, 2016 16:19
@doutriaux1

Copy link
Copy Markdown
Contributor

@danlipsa I have a lot of failed tests due to image sizes being different on my mac see: https://open.cdash.org/viewTest.php?onlyfailed&buildid=4475287

Some of them are due to conda env not being activated properly (I think it is because I was also messing with my conda envs as I was running the test suite)

@doutriaux1

Copy link
Copy Markdown
Contributor

anyway issues not related to your changes so merged.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants