Skip to content

Commit e139b49

Browse files
committed
auto merge of #11805 : brson/rust/smallerarenas, r=brson
Android bots are OOMing.
2 parents 897a0a3 + 2d27ad1 commit e139b49

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libextra/arena.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ mod test {
504504
#[test]
505505
pub fn test_pod() {
506506
let arena = TypedArena::new();
507-
for _ in range(0, 1000000) {
507+
for _ in range(0, 100000) {
508508
arena.alloc(Point {
509509
x: 1,
510510
y: 2,
@@ -558,7 +558,7 @@ mod test {
558558
#[test]
559559
pub fn test_nonpod() {
560560
let arena = TypedArena::new();
561-
for _ in range(0, 1000000) {
561+
for _ in range(0, 100000) {
562562
arena.alloc(Nonpod {
563563
string: ~"hello world",
564564
array: ~[ 1, 2, 3, 4, 5 ],

0 commit comments

Comments
 (0)