NOVELTY - Zero discharge treatment technology in handling a palm oil milling waste, comprises: pre-treatment; biological treatment; and membrane separation.    USE - The zero discharge treatment technology is useful in handling a palm oil milling waste, where palm oil milling waste is POME, which is useful for obtaining three main products including biogas rich in methane, treated water and biofertilizer high in potash, where the biogas is useful as a boiler fuel and for generation of electricity, and biofertilizer is useful in the plantation (all claimed).    ADVANTAGE - The method/technology: utilizes zero discharge POME treatment plant which demonstrates zero discharge of POME, biogas production and utilization as a form of renewable energy, final discharge of POME Biochemical oxygen demand (BOD) less than or equal to 20 ppm, and recovering of sludge/dewatered sludge as biofertilizer with high potash content and recycling of the treated water for boiler use; carries out biological treatment of POME using AnaEG (RTM: Third generation of high efficiency anaerobic biological process) and BioAX (RTM: Aerobic technology), thus producing final discharge reaching BOD 20 ppm as required by department of environmental and chemical oxygen demand (COD) 50 ppm and removal of ammonium-nitrogen is accomplished; while achieving quality recycled water as good as drinking water for recycling purpose, the zero discharge POME treatment plant compromise on having an average biogas production due to the more severe pre-treatment in removal of COD, BOD and suspended solid (so that the wastewater will be easily treated in the later part), and thus this concept is highly relevant and applicable in areas where water is of shortage, and for future needs to reduce water consumption due to climate change, global warming and the need to have water footprinting assessment as one of the environmental indicators in assessing the environmental impact using a technology; has a very low sludge content of less than 10% as compared to activated sludge and the bacteria for ammonia removal do not have to be replenished, thus saving very high chemical costs in ammonia removal and exhibiting low operation cost; utilizes treatment plant whose design can accommodate and be upgraded to have maximize biogas production if the focus is on biogas, and a zero emission of POME into atmosphere is accomplished through the proposed advanced zero discharge treatment system of POME, thus no GHG emitted into the atmosphere; does not discharge of POME wastewater into a watercourse, thus avoiding polluting the environment; recovers residual oil which can be sold as a technical grade oil to generate revenue; provides treated water (clean water/RO water) that can be recycled as boiler feed to reduce corrosion arising from the use of existing technology in the boiler, and the design of the zero discharge POME treatment technology can be separated and operated in individual unit to suit customers requirement with desired optimum performance accomplished; utilizes the vertical enclosed tank systems which requires only 1/3 of the land and the cost required by open ponding system as a result, this integrated system can be increased to double the capacity without requiring additional land, and thus occupies a smaller footprint and results in lower operating cost compared to other existing systems; is eligible for incentives offered by the clean development mechanism program under the United Nations framework convention on climate change; assist millers to qua1ify for roundtable on sustainable palm oil certification; provides biogas which replaces palm kernel shell previously used as a fuel for boiler to generate steam and or electricity, and palm kernel shell can be sold at premium price for a fuel for other purposes; and produces biogas from POME as a renewable energy which is achievable at desirable target of 150 m3/hourr for a 5 t/hour pilot plant) and the achieved biogas production rate is 21-25 m3 biogas/m3 POME, where the biogas compositions is 65-70% of methane, 25-30% of carbon dioxide and 200-1500 ppm of hydrogen sulfide, and the biogas plant efficiency for a 30 t/hour and 60 t/hour palm oil mill based on plant performance is 14-16 and 28-32 MWh/day or 0.7-0.8 and 1.4-1.6 MW electricity potential, respectively (claimed).    DETAILED DESCRIPTION - An INDEPENDENT CLAIM is also included for a biogas is produced, captured and used as a boiler fuel and for generation of electricity.