<commit_before>package water;

import org.junit.*;

import water.fvec.Frame;
import water.fvec.Vec;

public class OOMTest extends TestUtil {
  @BeforeClass() public static void setup() { stall_till_cloudsize(1); }

  @Test public void testClean() throws InterruptedException {
    final int log_rows_per_chk = 6;
    final int nchks = 1024/(1<<log_rows_per_chk); // 1024/(1<<4) = 64 chunks
    Vec vcon = Vec.makeCon(0,1024,log_rows_per_chk); // New vector,
    Vec vrnd1 = vcon.makeRand(0x123456L); // Same shape as above, but rand fill
    Vec vrnd2 = vcon.makeRand(0x123456L); // Same shape as above, but rand fill
    vcon.remove();

    // Fast access to all Values, outside of the DKV
    Value val1s[] = new Value[nchks];
    Value val2s[] = new Value[nchks];
    for( int i=0; i<nchks; i++ ) {
      val1s[i] = vrnd1.chunkIdx(i);
      val2s[i] = vrnd2.chunkIdx(i);
    }

    // Flag val1s as "last touched a long time ago"
    long ago = System.currentTimeMillis()-1000L*1000L;
    for( int i=0; i<nchks; i++ )
      val1s[i].touchAt(ago);

    // Block until the Cleaner sleeps & take lock
    synchronized(Cleaner.THE_CLEANER) {
<commit_msg>Ignore OOMTest.<commit_after>package water;

import org.junit.*;

import water.fvec.Frame;
import water.fvec.Vec;

@Ignore
public class OOMTest extends TestUtil {
  @BeforeClass() public static void setup() { stall_till_cloudsize(1); }

  @Test public void testClean() throws InterruptedException {
    final int log_rows_per_chk = 6;
    final int nchks = 1024/(1<<log_rows_per_chk); // 1024/(1<<4) = 64 chunks
    Vec vcon = Vec.makeCon(0,1024,log_rows_per_chk); // New vector,
    Vec vrnd1 = vcon.makeRand(0x123456L); // Same shape as above, but rand fill
    Vec vrnd2 = vcon.makeRand(0x123456L); // Same shape as above, but rand fill
    vcon.remove();

    // Fast access to all Values, outside of the DKV
    Value val1s[] = new Value[nchks];
    Value val2s[] = new Value[nchks];
    for( int i=0; i<nchks; i++ ) {
      val1s[i] = vrnd1.chunkIdx(i);
      val2s[i] = vrnd2.chunkIdx(i);
    }

    // Flag val1s as "last touched a long time ago"
    long ago = System.currentTimeMillis()-1000L*1000L;
    for( int i=0; i<nchks; i++ )
      val1s[i].touchAt(ago);

    // Block until the Cleaner sleeps & take lock
    synchronized(Cleaner.THE_CLEANER) {

{'fraction_non_alphanumeric': 0.12780656303972365, 'fraction_numerical': 0.046632124352331605, 'mean_word_length': 3.306691449814126, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2354140', 'n_tokens_mistral': 909, 'n_tokens_neox': 858, 'n_words': 230}