Given an almost arbitrary holomorphic map we study the structure of the associated residue integral and its Mellin transform, and the relation between these two objects. More precisely, we relate the limit behaviour of the residue integral to the polar structure of the Mellin transform. We consider also ideals connected to nonisolated singularities.