[ 
https://issues.apache.org/jira/browse/CASSANDRA-18741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17752827#comment-17752827
 ] 

Ekaterina Dimitrova edited comment on CASSANDRA-18741 at 8/10/23 2:44 PM:
--------------------------------------------------------------------------

It seems HeapUtilsTest sets it explicitly to true for testing  and then sets it 
back to false.
I agree we can probably set it to false iin the unit tests cassandra.yaml and 
revert only during debugging but let's see what [~jmckenzie] and [~maedhroz] 
miight have to say here. 


was (Author: e.dimitrova):
It seems HeapUtilsTest sets it to true for testing  and then sets it back to 
false.
I agree we can probably set it to false iin the unit tests cassandra.yaml and 
revert only during debugging but let's see what [~jmckenzie] and [~maedhroz] 
miight have to say here. 

> Some unit tests create a heap dump each time
> --------------------------------------------
>
>                 Key: CASSANDRA-18741
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18741
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Test/unit
>            Reporter: Brandon Williams
>            Priority: Normal
>             Fix For: 5.x
>
>
> I noticed this by running out of space while working on CASSANDRA-18706.  
> Something must be calling HeaupUtils.maybeCreateHeapDump because the 
> build/test directory is littered with pidxxxx-epochxxxxxxxx.hprof files 
> despite the tests not crashing.  I checked a couple other random tests, 
> RandomSchemaTest also generates a dump but KeywordSplitTest does not.
> This behavior does not occur on 4.1.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to