Goldsource Error: z_malloc failed on allocation Last edited 12 years ago2008-06-11 08:13:18 UTC

This article was converted from a previous version of TWHL and may need to be reviewed

  1. The formatting may be incorrect due to differences in the WikiCode processing engine, it needs to be revised and reformatted
  2. Some information may be out of date
  3. After the article is re-formatted and updated, remove this notice and the Review Required category.
  4. Some older articles are no longer useful, or they duplicate information from other pages. In this case, delete the page after merging any relevant information into other pages. Contact an admin to delete a page.
ORIGINAL TITLE: z_malloc failed on allocation of xxx bytes ;;; or ;;; D_SCAlloc: bad cache size 0

Another insufficient memory or misallocated memory error. Possible causes are many, including too
little RAM & also by having a texture perpendicular to the face of the solid with WC.
In one case it was a script that shifted models one button. Possible solutions are:

1. For memory telling the HL main engine how much memory to use with HL -heapsize #(1024 x number of meg is popular #)
orHL -zone # in the shortcut.

2. For texture perpendicular go into WC/Hammer, then you can press alt + p, and select the problem if it is listed, and tell it to fix all of type; then try to compile again.

3. Or go thru the other errors on this page and try them as fixes. It CAN be frustrating! Sorry.


You must log in to post a comment. You can login or register a new account.