Bug 12792

Summary: Increase data size to 2GB
Product: Base System Reporter: marcelk <marcelk>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 3.2-STABLE   
Hardware: Any   
OS: Any   

Description marcelk 1999-07-24 23:10:01 UTC
	The maximum datasize is set too low for some computations.
	Machines with 0.5GB core are not rare anymore.
	The current datasize limit of 512MB is too low for
	some purposes. (Computing 5 men chess endgame databases
	in the submitter's case)

Fix: 

vmparam.h:
	replace 512*1024*1024 for max datasize with 2048*1024*1024
How-To-Repeat: 
	malloc a lot.
Comment 1 Nick Hibma freebsd_committer freebsd_triage 1999-07-25 12:46:15 UTC
State Changed
From-To: open->closed

Pilot error. This is settable in LINT. The location you point to is 
enclosed in ifndef-endif for that variable name. In LINT: 

# 
# Certain applications can grow to be larger than the 128M limit 
# that FreeBSD initially imposes.  Below are some options to 
# allow that limit to grow to 256MB, and can be increased further 
# with changing the parameters.  MAXDSIZ is the maximum that the 
# limit can be set to, and the DFLDSIZ is the default value for 
# the limit.  You might want to set the default lower than the 
# max, and explicitly set the maximum with a shell command for processes 
# that regularly exceed the limit like INND. 
# 
options         MAXDSIZ="(256*1024*1024)" 
options         DFLDSIZ="(256*1024*1024)" 

Hope this helps.[28~ 
Comment 2 Philip M. Gollucci freebsd_committer freebsd_triage 2009-06-24 04:48:33 UTC
State Changed
From-To: feedback->closed