diff --git a/xbyak/xbyak.h b/xbyak/xbyak.h index 501ee7d..9771fc9 100644 --- a/xbyak/xbyak.h +++ b/xbyak/xbyak.h @@ -472,7 +472,8 @@ protected: */ void growMemory() { - const size_t newSize = maxSize_ + inner::ALIGN_PAGE_SIZE; +// const size_t newSize = maxSize_ + inner::ALIGN_PAGE_SIZE; + const size_t newSize = maxSize_ * 2; uint8 *newTop = alloc_->alloc(newSize); if (newTop == 0) throw ERR_CANT_ALLOC; for (size_t i = 0; i < size_; i++) newTop[i] = top_[i];