"safe limit" depends on the media/brand you are using.
Have a look at videohelp.com for some hints.
DVD-R can hold up to 4496 MB and DVD+R can hold up to 4482 MB of data.
The amount of usable space can also differ a bit when using different filesystems.
Lead-in and out is outta this calculations, they use non data areas.